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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...