NXLog Platform User Guide

Audit logs table

The table in the Logs > Audit view lists the audit log records that match your search and filtering criteria. See NXLog Platform audit logs for an overview of the audit log.

Audit log fields

By default, the audit logs table shows the Severity, EventTime, Application, User, Operation, Outcome, and Message fields. You can add more fields to the table by clicking Select table columns, or click on a record to view all its fields.

Table 1. Audit log fields
Field Description

Severity

The severity of the event. The value is always INFO.

EventTime

The date and time of the action.

EventReceivedTime

The date and time NXLog Platform stored the event.

Application

The NXLog Platform component that recorded the event:

  • sso_app — authentication, user management, and organization settings.

  • Agent Manager — agent management and agent configurations.

  • logs_app — log storage, log search, dashboards, and audit logs.

User

The email address of the user who performed the action. For failed logins, it contains the email address entered on the login page. It’s empty for requests that aren’t authenticated.

Operation

The action the user performed, for example, login_user_pass or access_rule_create. See Audited events for the list of actions.

Method

The event category and action, in the format <category>::<operation>. For example, settings::password_change. Use this field to filter events by category or when an action is used in more than one category.

Outcome

The result of the action, success or failure.

Message

A description of the action. For example, Retention of "Firewall" logs changed from 30 to 90 days.

For failed actions, it contains the error, except for Agent Manager events, which contain <unknown operation> followed by the API request.

It’s empty for successful sso_app events.

Reason

The unique ID of the event and the ID of the affected resource, in the format event.id=<event-id>; target.id=<target-id>. For example, event.id=01a1bb7c-77bb-7b32-81ed-1c82dca481d3; target.id=admin@example.com.

It contains only the event ID if the action doesn’t affect a specific resource, such as an audit log search, for failed logs_app actions, and for all Agent Manager events.

SessionID

The ID of the request that caused the event. For Agent Manager events, it has the same value as the event ID in Reason. It’s empty for logs_app events.

SourceAddress

The IP address of the client from which the user performed the action.

MessageSourceAddress

The IP address of the client from which the user performed the action. It has the same value as SourceAddress.

OrganizationID

The ID of your NXLog Platform organization.

InstanceID

The ID of the NXLog Platform instance. It’s empty for logs_app events.

Hostname

The container ID of the NXLog Platform component that recorded the event. It changes when the container is recreated, for example, after an upgrade.

StatusCode

Not used. The value is always 0.

SourcePort

Not used. The value is always empty.

Audited events

Each audit event has a category and an action. The Operation field contains the action, and the Method field contains both, in the format <category>::<operation>.

Authentication and user management

These events have the Application field set to sso_app.

Table 2. Authentication and user management events
Category Action Description

authentication

login_user_pass

A user logged in with an email address and password.

login_2fa

A user completed a login with multi-factor authentication.

login_social

A user logged in with a social login provider.

logout

A user logged out.

user_management

invite_create

A user invited another user to the organization.

email_signup

A user signed up with an email address.

signup_verify

A user verified their email address after signing up.

user_delete

A user deleted another user.

mfa_reset

An administrator reset the multi-factor authentication of a user.

mfa_remove

A user removed multi-factor authentication from their account.

permissions

user_role_update

A user changed the roles of another user.

settings

password_change

A user changed their password.

password_admin_reset

An administrator forced a password reset for a user.

password_reset_init

A user requested a password reset.

password_reset_complete

A user set a new password after a password reset.

pat_create

A user created a personal access token.

pat_delete

A user deleted a personal access token.

Agent management

These events have the Application field set to Agent Manager. If an Agent Manager request fails, the event has the category agent_manager and the HTTP method as the action, for example, agent_manager::delete.

Table 3. Agent management events
Category Action Description

agent_manager.agent

update

A user changed an agent, for example, its configuration, enrollment status, or comment. The Message field describes the change.

enroll

A user enrolled an agent.

refresh

A user refreshed the agent information.

renew_certificate

A user renewed the agent certificate.

start_module

A user started an agent module.

stop_module

A user stopped an agent module.

restart_module

A user restarted an agent module.

sync_files

A user synchronized the agent configuration files.

start_live_capture

A user started a live capture of the events processed by a module instance. The Message field contains the module, the agent, the capture duration, the maximum number of events, and the filters.

finish_live_capture

A live capture of a module instance ended. The Message field contains the module, the agent, the reason the capture ended, and the number of events captured. The audit log doesn’t contain the captured events.

agent_manager.template

create

A user created an agent configuration.

update

A user updated an agent configuration.

delete

A user deleted an agent configuration.

delete_version

A user deleted a version of an agent configuration.

restore_version

A user restored a version of an agent configuration.

agent_manager.enroll_rule

create

A user created an enrollment rule.

update

A user updated an enrollment rule.

delete

A user deleted an enrollment rule.

agent_manager.certificate

create

A user created a certificate.

replace

A user replaced a certificate.

delete

A user deleted a certificate.

sync

A user synchronized certificates.

agent_manager.configuration

update

A user updated the Agent Manager settings.

agent_manager.backup

create

A user created a backup.

restore

A user restored a backup.

Log management

These events have the Application field set to logs_app.

Table 4. Log management events
Category Action Description

data_retention

log_retention_update

A user changed the log retention period.

log_delete

A user deleted logs.

audit_log_retention_update

A user changed the audit log retention period.

application_log_retention_update

A user changed the system log retention period.

permissions

access_rule_create

A user created an access rule.

access_rule_update

A user updated an access rule.

access_rule_delete

A user deleted an access rule.

configurations

filter_create

A user created a saved filter.

filter_update

A user updated a saved filter.

filter_delete

A user deleted a saved filter.

search_create

A user created a saved search.

search_update

A user updated a saved search.

search_delete

A user deleted a saved search.

dashboard_create

A user created a dashboard.

dashboard_update

A user updated a dashboard.

dashboard_delete

A user deleted a dashboard.

dashboard_enable

A user activated a dashboard.

settings

default_logsearch_page_update

A user changed their default log search page.

data_access

audit_log_view

A user searched the audit logs or viewed an audit log record.

audit_log_export

A user exported audit logs.

log_export

A user exported logs.

log_export_download

A user downloaded a log or audit log export file.