Fleet logo
Menu An icon indicating that interacting with this button will open the navigation menu.
Fleet logo An 'X' icon indicating that this can be interacted with to close the navigation menu.

Solutions

a small chevron
Device management

Device management

Remotely manage, and protect laptops and mobile devices.

Orchestration

Orchestration

Automate tasks across devices, from app installs to scripts.

Software management

Software management

Inventory, patch, and manage installed software.

GitOps

Infrastructure as code

See every change, undo any error, repeat every success.

Extend Fleet

Extend Fleet

Integrate your favorite tools with Fleet.


Customers
Pricing

More

a small chevron
Docs

Docs

Guides

Guides

Support

Support

News

News

Get your license

Get your license

The handbook

The handbook

GitOps for device management

In-person workshop for beginners.

Join us
Get a demo
Solutions A small chevron
Device management

Device management

Remotely manage, and protect laptops and mobile devices.

Orchestration

Orchestration

Automate tasks across devices, from app installs to scripts.

Software management

Software management

Inventory, patch, and manage installed software.

GitOps

Infrastructure as code

See every change, undo any error, repeat every success.

Extend Fleet

Extend Fleet

Integrate your favorite tools with Fleet.

Customers Pricing
More A small chevron

GitOps for device management

In-person workshop for beginners.

Join us
Docs

Docs

Guides

Guides

Support

Support

News

News

Get your license

Get your license

The handbook

The handbook

Get a demo
{{categoryFriendlyName}}/
{{thisPage.meta.articleTitle}}
search

Fleet troubleshooting for IT admins

{{articleSubtitle}}

Last updated on |
The author's GitHub profile picture

Steven Palmesano

Share

Share this article on Hacker News Share this article on LinkedIn Share this article on Twitter

On this page

{{topic.title}}
Docs Docs REST API REST API Guides Guides Get a demoGet a demo
Suggest an editSuggest an edit

Fleet troubleshooting for IT admins

{{articleSubtitle}}

Last updated on | The author's GitHub profile picture

Steven Palmesano

Fleet troubleshooting for IT admins

It would be great if computers always performed flawlessly, but sometimes errors occur. When things go wrong, digging into logs is one of the first steps to resolving an issue.

Finding fleetd logs

Fleetd will send stdout/stderr logs to the following directories:

  • macOS: /var/log/orbit/orbit.std{out|err}.log.
  • Windows: C:\Windows\system32\config\systemprofile\AppData\Local\FleetDM\Orbit\Logs\orbit-osquery.log (the log file is rotated).
  • Linux: Orbit and osqueryd stdout/stderr output is sent to syslog (/var/log/syslog on Debian systems, /var/log/messages on CentOS, and journalctl -u orbit on Fedora).

If the logger_path agent configuration is set to filesystem, fleetd will send osquery's "result" and "status" logs to the following directories:

  • macOS: /opt/orbit/osquery_log
  • Windows: C:\Program Files\Orbit\osquery_log
  • Linux: /opt/orbit/osquery_log

The Fleet Desktop log files can be found in the following directories depending on the platform:

  • macOS: $HOME/Library/Logs/Fleet
  • Windows: %LocalAppData%/Fleet
  • Linux: $XDG_STATE_HOME/Fleet or $HOME/.local/state/Fleet

The log file name is fleet-desktop.log.

Enabling debug mode for fleetd

Debug mode can be helpful by providing more information in the logs.

When generating an installer package with fleetctl package, add the --debug argument to enable debug mode for the agent installer.

If you're trying to troubleshoot macOS hosts, you can run a script on the host to turn on debug mode. After you're done, you can run the script again to disable debug mode on the host.

  1. Run the script on the affected host.
  2. Wait ~10 min.
  3. Refetch the host.
  4. Wait another ~10 min.
  5. Run the script again to disable debug logging.
  6. Grab the logs from /var/log/orbit/orbit.stderr.log.

Checking MDM commands

If you suspect something went wrong with an MDM command for a device (such as locking, wiping, installing an app, etc.), you can use the UI or API to view the MDM command results.

For the UI, open the host details page and under Activity toggle the switch for Show MDM commands.

Show MDM commands toggle

Hover over the command you'd like to view, and select the "i" button.

For the API, use the List MDM commands endpoint to find the command_uuid for the command. Use this UUID with the Get MDM command results endpoint. The result of this looks like a random string of characters, but this is because it's base64 encoded. A quick way to decode this is on a Mac is to copy the long string, then decode it in the Terminal:

pbpaste | base64 -d

Server-side logs

Use fleetctl to see server logs.

fleetctl debug errors
Fleet logo
Solutions Device management Orchestration Software management Integrations Pricing
Documentation Support Docs API Release notes Get your license
Company About Trust Jobs Logos/artwork Why open source?
a small checkmarkSOC2 Type 2 Creative Commons Licence CC BY-SA 4.0
© 2026 Fleet Inc. Privacy
Slack logo GitHub logo LinkedIn logo X (Twitter) logo Youtube logo Mastadon logo