Logsign Host OS Audit Events

Purpose

Beyond the audit trail of actions performed in the Logsign user interface, Logsign also records what happens at the operating-system level on the Logsign host itself: account and privilege changes, edits to sensitive configuration files, package installations, interactive commands, and system power state changes. These records are produced by the Logsign maintenance service from the host's own auditd trail and are indexed as Logsign Audit events.

This article lists those events so they can be searched, reported on and alarmed on.

Where these logs appear

The records arrive under the Logsign Audit source (EventSource Prefix ID 4016), with Event.Type set to Audit and Event.Category set to host-audit. You can list them with:

DataType:"system" AND Event.Category:"host-audit"

Each event also carries a numeric Event.VendorID from the table below, and an Event.SystemID formed by prefixing that VendorID with the source prefix (for example VendorID 202623 becomes SystemID 4016202623).

Fields

Source.UserNameThe login user accountable for the action (the audit login UID), not the effective account it ran as.
Source.EffectiveUserWritten only when the action ran as a different account than the login user (for example a user escalating to root through sudo). In that case the event note also ends with "(as root)".
Source.CommandThe executed command line, for command events. Values that look like passwords, tokens or API keys are redacted before indexing.
Source.PathThe file the action touched, for configuration-change events.
Source.KeyNameThe audit rule key that matched, for events produced by a keyed audit rule.
Destination.UserName / Destination.GroupNameThe user or group the action was performed on, for identity events.
Time.GeneratedTaken from the audit record itself, not from the moment the event was forwarded.

Event list

Event.VendorIDEvent.ActionEventMap (Context / Type / SubType)SeverityDescription
202601user addIdentity / User / AddnoticeAn OS user account was created on the host.
202602user deleteIdentity / User / DeletewarningAn OS user account was deleted on the host.
202603user grantIdentity / User / GrantwarningAn OS user was granted privilege or added to a privileged group.
202604group addIdentity / Group / AddnoticeA user was added to an OS group.
202605password changeIdentity / Password / ChangewarningAn OS user password or lock state was changed.
202606group createIdentity / Group / CreatenoticeAn OS group was created on the host.
202607group deleteIdentity / Group / DeletewarningAn OS group was deleted on the host.
202608sudoers changeSystem / Configuration / UpdatewarningThe sudoers privilege configuration was modified.
202609cron changeSystem / Configuration / UpdatewarningA cron or scheduled task configuration was modified.
202610systemd changeSystem / Configuration / UpdatewarningA systemd unit was created or modified.
202611sshd config changeSystem / Configuration / UpdatewarningThe SSH server configuration was modified.
202612network changeSystem / Configuration / UpdatewarningA host network configuration file was modified.
202613audit config changeSystem / Configuration / UpdatewarningThe auditd configuration was modified.
202614time changeSystem / Configuration / UpdatewarningThe system time or timezone configuration was modified.
202615command executedSystem / Command / InfoinformationAn interactive command was executed on the host.
202616kernel moduleSystem / Configuration / ChangewarningA kernel module was loaded or unloaded, or its configuration changed.
202617pam changeSystem / Configuration / UpdatewarningA PAM authentication configuration file was modified.
202618library path changeSystem / Configuration / UpdatewarningA dynamic linker path or preload configuration was modified.
202619shell init changeSystem / Configuration / UpdatenoticeA shell init or environment configuration was modified.
202620ssh key changeSystem / Configuration / UpdatewarningA root SSH key or authorized_keys file was modified.
202621mount config changeSystem / Configuration / UpdatewarningThe filesystem mount table (fstab) was modified.
202622package changeSystem / Application / InstallwarningA software package was installed, removed or upgraded.
202623system bootSystem / State / StartinformationThe host completed system boot.
202624system shutdownSystem / State / ShutdownnoticeThe host was powered off cleanly.
202625system rebootSystem / State / RebootnoticeThe host was restarted cleanly.
202626unexpected shutdownSystem / State / ErrorcriticalThe host started without a recorded shutdown: power loss, hard reset or crash.

How boot, shutdown and reboot are decided

The operating system records a shutdown entry when a clean stop begins and a boot entry early in the next start. Logsign reads both and turns them into the events above:

  • A recorded clean stop becomes either system reboot or system shutdown, decided from the shutdown target the system logged at that moment (a restart target produces a reboot event, a power-off or halt target produces a shutdown event).
  • Every start produces a system boot event.
  • A start with no clean stop recorded since the previous start produces an unexpected shutdown event, marked critical. This is what a power loss, a hard reset or a crash looks like from the host's point of view.

Because a shutdown can only be reported once the machine is running again, the shutdown and reboot events are emitted after the next boot. They still carry the real time of the shutdown in Time.Generated, so the ordering on a timeline is correct.

Notes and Limits

  • The very first boot Logsign observes on a host never raises an unexpected shutdown; there is no earlier state to compare it against.
  • Login-time and MOTD helper processes are excluded from the command executed events, so the command history reflects what an operator actually typed rather than what runs automatically on every SSH login.
  • These events describe the Logsign host's own operating system. Operating-system auditing of your other servers is a separate integration; see the Linux logging model articles.
  • Alarms are not shipped for these events by default. To be notified, create an alert on the VendorID or EventMap values above and attach an action rule to it, as described in the system notification articles.
Was this article helpful?
0 out of 0 found this helpful

Articles in this section

See more
Become a Certified Logsign User/Administrator
Sign-up for Logsign Academy and take the courses to learn about Logsign USO Platform in detail. Enjoy the courses, and get your badges and certificates. In these courses, you'll learn how to use Logsign in your work and add value to your career.
Visit Our Blog
Our Logsign USO Platform illustrate our expertise. So do the blog. Through our blog posts, deepen your knowledge on various SecOps topics or get updated about important news & modern approaches for cybersecurity. Get into the habit of reading valuable information provided by Logsign. Be a step ahead.