View and search logs
Access and search Itential Platform logs to monitor system behavior and troubleshoot issues.
Before you begin
Itential Platform writes logs to files on the server. Access requires:
- SSH access to the Platform server
- Read permissions for log directories
- Basic familiarity with Linux command-line tools
Locate log files
Rotated logs use numeric suffixes: itential-platform.log.1, itential-platform.log.2, and so on.
If files don’t appear in the default location, check the log_directory setting in your logging configuration.
View log files
View recent entries
Follow logs in real-time
View entire log file
View rotated logs
Log structure
Every log entry includes these fields:
Structured JSON format (Platform 2023.2 and later)
Structured logs separate all data into distinct, queryable fields:
Standard format
Standard logs embed data within message strings and use a legacy_args array:
The legacy_args array appears when multi-argument log calls are automatically converted to structured JSON format.
Search logs
Command-line tools
Search by text:
Search by log level:
Search by date:
Search across rotated logs:
systemd journal (Platform 6 only)
View all platform logs:
Follow logs in real-time:
View logs from a specific time:
Log aggregation tools
Structured JSON logs integrate with log aggregation platforms without custom parsing. Configure your platform to ingest logs from the appropriate directory. The examples below use Splunk, Elasticsearch, and Datadog, but the patterns apply to any log aggregation tool.
Splunk
Configure Splunk to monitor:
- Platform 6:
/var/log/itential/itential-platform.log - Platform 2023.2 and earlier:
/var/log/pronghorn/itential-platform.logExample searches:
Elasticsearch
Search by user:
Search by error:
Search by date range:
Datadog
Example searches:
Use the time picker in the Datadog UI for date filtering.
Common search patterns
Export logs
Export the current log file:
Export all rotated logs:
Log rotation
Itential Platform automatically rotates log files when the current log reaches log_max_file_size.
During rotation:
- The current file is renamed with a numeric suffix (for example,
itential-platform.log.1). - A new empty log file is created.
- If the file count exceeds
log_max_files, the oldest file is deleted.