Skip to content

Logs & diagnostics

ayx server server-logs gives you structured access to Alteryx Server log files — without manually navigating the Windows filesystem or grepping raw text. All commands here are read-only.

Command What it does
ayx server server-logs discover Find all log files on the configured server
ayx server server-logs inventory List log files with sizes and timestamps
ayx server server-logs summary --path <path> Summarise a log file’s error/warning counts
ayx server server-logs context --path <path> --query <query> Show lines around a matched query string
ayx server server-logs parse-csv --path <path> Parse a CSV-format log file into structured output
ayx server server-logs service-events --path <path> Extract structured service events
ayx server server-logs gallery-events --path <path> Extract Gallery-specific events
ayx server server-logs tail --path <path> Show the last N lines of a log file (default: 100)
ayx server server-logs recent List log files modified in the last N days (default: 7)

Start here when you do not know where the logs are:

Terminal window
ayx server server-logs discover --profile prod

Then get a full inventory with file sizes and modified timestamps:

Terminal window
ayx --output json server server-logs inventory --profile prod

See the tail of a specific file:

Terminal window
ayx server server-logs tail --path "C:\ProgramData\Alteryx\Logs\AlteryxService.log"

Override the default 100 lines:

Terminal window
ayx server server-logs tail --path "C:\ProgramData\Alteryx\Logs\AlteryxService.log" --lines 250

List all log files touched in the last three days:

Terminal window
ayx server server-logs recent --profile prod --days 3

Get error and warning counts for a file:

Terminal window
ayx server server-logs summary --path "C:\ProgramData\Alteryx\Logs\AlteryxService.log"

Search for a keyword and see surrounding context (25 lines before and after by default):

Terminal window
ayx server server-logs context \
--path "C:\ProgramData\Alteryx\Logs\AlteryxService.log" \
--query "OutOfMemory"

Adjust the context window:

Terminal window
ayx server server-logs context \
--path "C:\ProgramData\Alteryx\Logs\AlteryxService.log" \
--query "connection refused" \
--before 10 \
--after 10

Alteryx Server produces some logs in CSV format. Parse them into a clean JSON envelope:

Terminal window
ayx --output json server server-logs parse-csv \
--path "C:\ProgramData\Alteryx\Logs\AlteryxGallery.csv"

Note: --output is a global flag, so --output json can appear before or after the subcommand.

Extract structured service lifecycle events:

Terminal window
ayx server server-logs service-events \
--path "C:\ProgramData\Alteryx\Logs\AlteryxService.log"

Extract Gallery API events (authentication, job submissions, errors):

Terminal window
ayx server server-logs gallery-events \
--path "C:\ProgramData\Alteryx\Logs\AlteryxGallery.log"

Every command in this branch accepts --output json as a global flag:

Terminal window
ayx --output json server server-logs summary \
--path "C:\ProgramData\Alteryx\Logs\AlteryxService.log"

The envelope is always { ok, message, timestamp_utc, data } on success; failures also include error_code.