Splunk Search

Any ideas on Auditing Content Library?

gazoscreek
Path Finder

I need to provide audit details on our ES Content Library. Using rest, I can identify searches that have been updated and when they were updated, but the rest call only reports on the owner of the search, not the person who made the change.

| rest splunk_server=local /servicesNS/-/-/saved/searches
| fields title search eai:acl.owner eai:acl.app alert_type updated cron_schedule auto_summarize.suspend_period dispatch.earliest_time dispatch.latest_time id
| convert timeformat="%Y-%m-%dT%H:%M:%S+00:00" mktime(updated)
| where updated >= relative_time(now(), "-4h")


Looking at conf.log I can see when a search was written:

index="_internal" source="/opt/splunk/var/log/splunk/conf.log" earliest=-30h WRITE_STANZA
| stats values(data.optype_desc) values(data.payload.children.action.correlationsearch.label.value) values(data.payload.children.search.value)


Neither of these searches tell me who was the individual writing the search.

Any other ideas as to how I can accomplish this?

Thank you.

Tags (2)
0 Karma

richgalloway
SplunkTrust
SplunkTrust

Splunk does not record the name of the person who changed a search.

One workaround is to make all changes in git and push them to Splunk on a regular basis.  Any on-line changes would be overwritten by the push so users would have to use git if they want permanent changes.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.
Get Updates on the Splunk Community!

Introduction to Splunk AI

How are you using AI in Splunk? Whether you see AI as a threat or opportunity, AI is here to stay. Lucky for ...

Splunk + ThousandEyes: Correlate frontend, app, and network data to troubleshoot ...

Are you tired of troubleshooting delays caused by siloed frontend, application, and network data? We've got a ...

Maximizing the Value of Splunk ES 8.x

Splunk Enterprise Security (ES) continues to be a leader in the Gartner Magic Quadrant, reflecting its pivotal ...