Command-line reference

arcsentry diagnostics

Collect the logs and environment detail needed to report a problem.

Subcommands

Collect the logs and environment detail needed to report a problem.

The bundle is a zip holding every file in this installation's log directory under logs/, plus a versions.json naming the product and native build, the platform, and when the bundle was written. Nothing but those logs goes into it: no case is opened, and no evidence or query result is included. The logs themselves can name cases, evidence and paths, so read the bundle before sending it on. A missing parent directory for the output path is created, and an existing file at that path is overwritten.

arcsentry diagnostics <subcommand>

Examples

Write a diagnostics bundle to the home directory

arcsentry diagnostics collect --output /var/tmp/arcsentry-diagnostics.zip

Write it to a shared directory to attach to a ticket

arcsentry diagnostics collect --output /tmp/arcsentry-diagnostics.zip

Write it and read the result as text

arcsentry diagnostics collect --output /var/tmp/arcsentry-diagnostics.zip --format text

Write it using the short forms of both flags

arcsentry diagnostics collect -o /var/tmp/arcsentry-diagnostics.zip -f json

Subcommand reference

arcsentry diagnostics collect

Write a diagnostics bundle of logs, versions, and environment detail to a file.

This is the bundle to attach when reporting a failure. It is written from your own installation and stays local.

arcsentry diagnostics collect --output <output> [options]
OptionDescription
-o, --output <output>required Path the bundle is written to.
-f, --format <format> Output format for the command's own result: json (default), text, jsonl, csv, or table. Default: "json".

Examples

Write a diagnostics bundle to the home directory

arcsentry diagnostics collect --output /var/tmp/arcsentry-diagnostics.zip

Write it somewhere shared so it can be attached to a ticket

arcsentry diagnostics collect --output /tmp/arcsentry-diagnostics.zip

Write it and read the result as text

arcsentry diagnostics collect --output /var/tmp/arcsentry-diagnostics.zip --format text

Write it using the short forms of both flags

arcsentry diagnostics collect -o /tmp/arcsentry-diagnostics.zip -f json