Splunk Search

What can I search for in _internal data to monitor/audit Splunk admin activities?

thezero
Path Finder

HI Team,

I am trying to configure some alerts for tracking all Splunk admin activities like mentioned below where changes are performed via UI or command line. Logs available in _audit index are very inadequate as it only gives info about actions performed, but not about who performed the action and other info. Please advise some sample searches or keywords to search in _internal logs or other places for following Splunk admin activities

  • Splunk user Account creation/deletion/modification
  • New index creation /deletion
  • splunk restart
  • change any config file
  • crate role/app etc
0 Karma

adonio
Ultra Champion

Hi thezero,
Here are some seaerches that answer your questions above:

Splunk user Account creation/deletion/modification
index = _audit user=admin action=edit_user operation= | table _time user operation object*
create / modify role
index="_audit" action=edit_roles operation= | table _time user operation object*

New index creation /deletion
index = _audit user=admin action=indexes_edit
index = _internal component=IndexWriter message="*Initializing" component=IndexWriter | table _time idx | rename idx as "New Index"*
Index Removed
index = _audit user=admin action=indexes_edit object= | table user action object*

Splunk restart
index=_internal source=*splunkd.log "(build"*
from:
https://answers.splunk.com/answers/242618/how-to-count-the-number-of-times-splunk-is-restart.html

Regards,

Get Updates on the Splunk Community!

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...

Welcome to the Splunk Community!

(view in My Videos) We're so glad you're here! The Splunk Community is place to connect, learn, give back, and ...

Tech Talk | Elevating Digital Service Excellence: The Synergy of Splunk RUM & APM

Elevating Digital Service Excellence: The Synergy of Real User Monitoring and Application Performance ...