systemd journal
The systemd journal stores structured logs in binary files under /var/log/journal (persistent) or /run/log/journal (volatile). On many modern distributions it is the primary log.
What Systemd Journal is
Event and service logs record what the operating system and its services saw: logons, process starts, service changes, errors and security events.
Forensic value
What Systemd Journal can tell an investigator:
- Service, kernel and authentication messages, with fields such as PID, UID and executable.
- Logs that may not exist in plain-text syslog on minimal systems.
What it does not prove
- Volatile journals in /run are lost at reboot; collect from live systems.
Where it is stored
Arcsentry looks for Systemd Journal at these locations inside a collection, disk image or mounted volume:
**/run/log/journal/**/*.journal
**/run/log/journal/**/*.journal~
**/var/log/journal/**/*.journal
**/var/log/journal/**/*.journal~ What Arcsentry records
Each Systemd Journal record is written to Arcsentry's common schema with these fields, alongside the host, timestamp and provenance every record carries:
| Field | Type | Meaning |
|---|---|---|
message | VARCHAR | Human-readable message |
process_pid | BIGINT | Process identifier |
process_name | VARCHAR | Process name |
process_executable | VARCHAR | Process executable |
process_command_line | VARCHAR | Process command line |
log_journal_priority | VARCHAR | Systemd journal priority |
log_source | VARCHAR | Originating log source or component that emitted a log line, as the producing log names it (for example an MSSQL spid or server component, or the syslog identifier of a systemd journal entry) |
log_syslog_facility | VARCHAR | Syslog facility |
log_journal_transport | VARCHAR | How systemd-journald received the entry (kernel, syslog, journal, stdout, audit, driver) |
log_journal_control_group | VARCHAR | Systemd control group path of the process that logged the entry |
log_journal_selinux_context | VARCHAR | Security context of the process that logged the entry, as journald recorded it; an SELinux context on SELinux hosts and the AppArmor profile with its enforcement mode on AppArmor hosts |
log_journal_invocation_id | VARCHAR | Systemd invocation identifier distinguishing one runtime cycle of a unit from a later restart of the same unit |
log_journal_effective_capabilities | VARCHAR | Effective capability bitmask, hexadecimal, of the process that logged the entry |
log_journal_source_recorded_at | TIMESTAMP | Earliest trusted message timestamp known to differ from journal reception time, recorded using the realtime clock |
log_journal_login_session | VARCHAR | Systemd-logind session identifier of the process that logged the entry |
log_journal_session_owner_user_id | VARCHAR | User identifier of the owner of the systemd-logind session or user service the logging process runs in |
log_journal_unparsed_fields | VARCHAR[] | Journal field names whose recorded values could not be decoded or represented unambiguously in a scalar column |
log_journal_skipped_entries | BIGINT | Entry pointers of a journal file whose entry could not be parsed or carried no tracked field, so produced no record |
log_journal_repeated_values | VARCHAR[] | All distinct recorded FIELD=value payloads for tracked journal fields with multiple values; ambiguous scalar columns are omitted |
unit_name | VARCHAR | Systemd unit name |
user_id | VARCHAR | User identifier |
group_id | VARCHAR | Group identifier |
auid | BIGINT | Auditd auid |
session_id | VARCHAR | Session identifier |
host_name | VARCHAR | Host name |
boot_id | VARCHAR | Full boot ID |
machine_id | VARCHAR | Identifier of the machine a record came from: the shortcut distributed link tracker machine name, or the systemd machine ID of a journal entry or of the host |
log_file | VARCHAR | Source log file path |
source_file_modified | TIMESTAMP | Modification time of the source artifact file, carried only on records that lack a parsed event timestamp (substituted-time provenance, never a forensic event time) |
artifact_read_status | VARCHAR | Source read failure: unreadable (the source could not be read), corrupt (its bytes failed format or stream integrity checks), unrecognized (the content does not identify a supported format), or unsupported (the format version or a required format extension is not supported); records read before a failure may still be present |
Time
Arcsentry keeps each record's own time and labels its time zone when the source does not state one. A record with no time of its own stays untimed; Arcsentry never substitutes the collection time.
Collecting Systemd Journal with Arcsentry Collector
Arcsentry Collector gathers Systemd Journal in these triage profiles: linux::profile::triage::priority, linux::profile::triage::offline, linux::profile::triage::full, linux::profile::triage::server. It is read straight from the file system, on a live host or inside a disk image, without mounting.
The collection targets that pick it up: linux::execution::docker_ondisk, linux::filesystem::bodyfile, linux::logs::journal, linux::logs::run_log, linux::logs::var_log.
sudo ./arcsentry-collect collect --local -t linux::profile::triage::priority \
-o /mnt/ir -f host.arcx --password-file /mnt/ir/pw.txt Every file lands in one AES-256 archive with a SHA-256 recorded for it, and the collection log notes which target collected it. See everything each profile collects.
Already collected with something else? Arcsentry also reads KAPE, Velociraptor and UAC collections, so Systemd Journal can come from the tools you already use.
Analysing Systemd Journal in Arcsentry
Ask in plain English, for example "show Systemd Journal records from the incident window, newest first", and Arcsentry shows the query before it runs.
Mark a record malicious or suspicious and it joins the timeline in its kill-chain lane. Add its values as indicators and Arcsentry matches them across every host. When the AI investigator works the case, it reads Systemd Journal records with the same tools and cites them by event ID.
Corroborate with
No single artifact settles a question on its own. Check Systemd Journal against:
- Syslog: Parses Linux syslog and auth.log files.
- auditd: Parses /var/log/audit/audit.log* and correlates the SYSCALL, EXECVE, CWD, PATH and USER_* records of one audit event by its stamp (time and serial).
- systemd service: Parses systemd units, search-path drop-ins and observed enablement links with evidence-confined targets.
Frequently asked
Is the systemd journal persistent?
Only if /var/log/journal exists or persistence is configured. Otherwise it lives in /run/log/journal and is lost at reboot.
Does Arcsentry parse Systemd Journal?
Yes. Arcsentry's Systemd Journal parser (journal) reads it from Linux evidence and records 30 fields per record, with provenance back to the source file.
How do I collect Systemd Journal?
Arcsentry Collector gathers it with the priority triage profile (linux::profile::triage::priority), live or from a disk image, sealed in an AES-256 archive with a SHA-256 for every file.
Parse Systemd Journal on your own evidence.
Tell us what you want to investigate. A person replies within one business day with the download and a trial licence.
Request a trial