Splunk® Enterprise

Securing the Splunk Platform

Download manual as PDF

Download topic as PDF

Audit Splunk activity

When you enable auditing, the Splunk platform sends specific events to the audit index (index=_audit). Interactions with the platform, such as searches, logins and logouts, capability checks, and configuration changes generate audit events.

What is in an audit event?

  • Timestamp:
    • date and time of the event.
  • User information:
    • the user who generated the event.
    • If the event contains no user information, the Splunk platform sets the user to whoever is currently logged in.
  • Additional information:
    • available event details -- what file, success/denial, etc.

Activities that generate audit events

The following activities generate audit events on the Splunk platform:

  • all files in the Splunk Enterprise configuration directory $SPLUNK_HOME/etc/*
  • Starts and stops of the instance.
  • Users logging in and out of the platform.
  • Additions and removals of users.
  • Changing a user's information (password, role, etc).
  • Execution of any capability on the platform.

Audit event storage

The Splunk platform stores audit events locally in the audit index (index=_audit). Audit events appear in the log file: $SPLUNK_HOME/var/log/splunk/audit.log.

If you have configured the Splunk platform as a forwarder in a distributed setting, the platform forwards audit events like any other event.

Configure audit logging

You can now configure audit logging levels like you can any other level on the Splunk platform. The category.AuditLogger category in the $SPLUNK_HOME/etc/log.cfg file controls the level at which the Splunk platform logs audit events. By default, the platform logs events at the DEBUG level. See Enable debug logging in the Troubleshooting Manual for information on how to enable debug logging.

Last modified on 13 May, 2020
PREVIOUS
Use Splunk Enterprise to audit your system activity
  NEXT
Use audit events to secure Splunk Enterprise

This documentation applies to the following versions of Splunk® Enterprise: 8.1.0


Was this documentation topic helpful?

Enter your email address, and someone from the documentation team will respond to you:

Please provide your comments here. Ask a question or make a suggestion.

You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters