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.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...