Where Them
Logs App
WTLA-01

osquery

5 log locations · macOS, Linux

osquery · Vendor documentation

Where osquery keeps its logs

osquery logs to /var/log/osquery/osqueryd.results.log on macOS. 2 other macOS log locations are recorded below.

osquery logs to /var/log/osquery/osqueryd.results.log on Linux. 1 other Linux log location is recorded below.

Paths are printed exactly as osquery writes them. Environment variables like %LOCALAPPDATA% and $XDG_STATE_HOME are never expanded, so a path can be pasted straight into a shell. Where a path differs between installer types or shipping flavours, each one is racked as its own card below - why that happens.

Finding your way around macOS and Linux.

MAC

osquery - macOS

osquery
Scheduled query results/var/log/osquery/osqueryd.results.log
Snapshot results/var/log/osquery/osqueryd.snapshots.log
Status logs/var/log/osquery/- osqueryd.INFO, .WARNING and .ERROR
LNX

osquery - Linux

osquery
Scheduled query results/var/log/osquery/osqueryd.results.log
Status log/var/log/osquery/osqueryd.INFO- Symlink to the latest; WARNING, ERROR and FATAL alongside.
osquery log file locations - macOS, Linux · Where Them Logs App