Splunk Search

How can i check to see if a Splunk dashboard has been edited?

voninski
New Member

I have a requirement to be able to check and provide alerts if a customers dashboards have been tampered with. I have found the following search

index=_* "edit"

seems to pick up edits (see screenshot).

Im just wondering if this is the best way to check for editing? Or if anyone can share with me their thoughts and findings in checking for edits to existing pages.

Thoughts.!

alt text

0 Karma
1 Solution

cmerriman
Super Champion

this is what i use:

index=_internal sourcetype=splunkd_ui_access method=post ui/views (edit OR editxml)
 | table user, req_time, file 
 | rename file as dashboard req_time as editTime

it gives me the user, the time of editing and what dashboard.

View solution in original post

cmerriman
Super Champion

this is what i use:

index=_internal sourcetype=splunkd_ui_access method=post ui/views (edit OR editxml)
 | table user, req_time, file 
 | rename file as dashboard req_time as editTime

it gives me the user, the time of editing and what dashboard.

voninski
New Member

This is perfect. Exactly what I was looking for. Thank you!

0 Karma

jat75
Explorer

I have found that I must remove the '(edit OR editXML)' part of the query and add 'NOT StreamedSearch' to get the actual results.

adonio
Ultra Champion
0 Karma
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 ...