Meta pixel

Fleet documentation

Welcome to the documentation for Fleet, the lightweight telemetry platform for servers and workstations.

Install Fleet

Install osquery and Fleet

Get started right arrow
Fleet support

Can't find what you need?

Support right arrow


Seeding data

Seeding data

When developing Fleet, it may be useful to create seed data that includes users and teams.

Check out this Loom demo video that walks through creating teams seed data:

For a text-based walkthrough, check out the following steps:

First, create an env file with the following contents:

export SERVER_URL=https://localhost:8080 # your Fleet server URL and port
export CURL_FLAGS='-k -s' # set insecure flag
export TOKEN=eyJhbGciOi... # your login token

Next, set the FLEET_ENV_PATH to point to the env file. This will let the scripts in the fleet/ folder source the env file.

export FLEET_ENV_PATH=/Users/victor/fleet_env

Finally, run one of the bash scripts located in the /tools/api directory.

The fleet/create_free script will generate an environment to roughly reflect an installation of Fleet Free. The script creates three users with different roles.


The fleet/create_premium script will generate an environment to roughly reflect an installation of Fleet Premium. The script will create two teams of four users with different roles.


The fleet/create_figma script will generate an environment to reflect the mockups in the Fleet EE (current) Figma file. The script creates three teams and twelve users with different roles.


Each user-generated by the script has its password set to user123#.

In order to run scripts that make use of premium features, make sure you have started the server with the correct flags as described in Testing.

Did we miss anything?

If you notice something we've missed or could be improved on, please follow this link and submit a pull request to the Fleet repo.