osmates audit show
Show the trail, or a machine's records, oldest first, or newest first with --newest-first.
osmates audit show [<options>] [<machine>]--newest-first reads the trail from its end back, which takes no machine or session. --json prints the trail's own lines as stored, one record a line.
Arguments
<machine>A machine's name or identifier, also once it is deleted.
--session <session>Only the records of this session:
<pid>@<start>from a record'sby,shortcutsfor the app's Shortcuts actions, orloginfor Start at Login.--since <since>Only the records from this time on, such as 2026-10-28 or 2026-10-28T07:03:12Z.
--newest-firstShow the newest records first.
--limit <limit>Show at most this many records.
--jsonPrint machine-readable JSON.
JSON output
With --json, it prints one object per line, with these fields.
JSON Schema: /schemas/0/cli/audit/show.json
byobjectby.clientstringby.clientKindstringby.fingerprintstringby.kindstringRequiredOne of
app,cli,window,osmatesd,agent,guest,remote,device.by.organizationstringby.sessionstringdetailobjectRequiredhashstringRequiredjobstringmachineobjectmachine.idstring (uuid)machine.namestringopstringoutcomeobjectoutcome.errorstringoutcome.operationstringoutcome.questionstringoutcome.reasonstringoutcome.resultstringRequiredOne of
ok,refused,asked,failed,cancelled.outcome.textstringprevstringRequiredrefintegerAt least 0.
seqintegerRequiredAt least 0.
timestringRequiredtoolobjecttool.callstringRequiredtool.namestringRequiredtypestringRequiredOne of
file,session,call,result,job,event,gap,prune.
Exit statuses
Its exit status is one of these.
| Status | Meaning |
|---|---|
| 0 | The command did what it was asked. |
| 1 | The command failed; with --json, standard error's last line is the error object. |
| 64 | The command line is wrong, as ArgumentParser found before the command ran. |
| 65 | What was given is wrong, found while the command ran; the same command fails until it changes. |
| 75 | The same command can work later with nothing changed, as while an update finishes. |
| 130 | Control-C cancelled what the command started. |