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.

View solution in original post

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
Did you miss .conf21 Virtual?

Good news! The event's keynotes and many of its breakout sessions are now available online, and still totally FREE!