Solutions
Device management
Remotely manage, and protect laptops and mobile devices.
Orchestration
Automate tasks across devices, from app installs to scripts.
Software management
Inventory, patch, and manage installed software.
Infrastructure as code
See every change, undo any error, repeat every success.
Extend Fleet
Integrate your favorite tools with Fleet.
More
Device management
Remotely manage, and protect laptops and mobile devices.
Orchestration
Automate tasks across devices, from app installs to scripts.
Software management
Inventory, patch, and manage installed software.
Infrastructure as code
See every change, undo any error, repeat every success.
Extend Fleet
Integrate your favorite tools with Fleet.
Steven Palmesano
Steven Palmesano
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.
Fleetd will send stdout/stderr logs to the following directories:
/var/log/orbit/orbit.std{out|err}.log.C:\Windows\system32\config\systemprofile\AppData\Local\FleetDM\Orbit\Logs\orbit-osquery.log (the log file is rotated)./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:
/opt/orbit/osquery_logC:\Program Files\Orbit\osquery_log/opt/orbit/osquery_logThe Fleet Desktop log files can be found in the following directories depending on the platform:
$HOME/Library/Logs/Fleet%LocalAppData%/Fleet$XDG_STATE_HOME/Fleet or $HOME/.local/state/FleetThe log file name is fleet-desktop.log.
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.
/var/log/orbit/orbit.stderr.log.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.
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 -dUse fleetctl to see server logs.
fleetctl debug errors