Security

How to alert users who have exported dashboards?

utkarsh__
Explorer

Hi,

I have a requirement to alert all users who have pressed "export" from Splunk.

I have written the spl for listing users who have exported search results or dashboard panels.

 

 

index=_internal export | regex uri_path="(jobs|results|events)\/export$" | table user | dedup user

 

 

But this is not catching the dashboard exports. I want to alert users who have exported the complete dashboard in pdf format. Kind help will be appreciated.

Labels (2)
0 Karma

scelikok
SplunkTrust
SplunkTrust

Hi @utkarsh__,

You can use below query to find all exports including pdfs.

index=_internal pdf (sourcetype=splunkd_access OR sourcetype=splunk_pdfgen) 
| stats latest(_time) as _time values(user) as user values(filename) as filename 
| eval output_mode="pdf" 
| append 
    [ search index=_internal export sourcetype=splunkd_access 
    | regex uri_path="(jobs|results|events)\/export$" 
    | table _time user output_mode ]

 

If this reply helps you an upvote and "Accept as Solution" is appreciated.

utkarsh__
Explorer

Hey @scelikok , thanks for replying.

The query only works for classic dashboards and not for the dashboard studio ones. I am not able to find any event related to studio dashboard exports. Would you please be able to help me find one.

0 Karma
Get Updates on the Splunk Community!

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 ...

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...