Splunk Search

How can we check the number of searches ran by user?

abhijit_mhatre
Path Finder

How can we check the number of searches ran by user?
We tried installing Search Activity app but a majority of the users are not having LDAP authentication. Hence the app is not getting configured.
Please let us know if there are any queries which will help in finding out the searches ran by user.

Thanks in Advance.

0 Karma
1 Solution

493669
Super Champion

Hi @abhijit_mhatre,
Try this:

index=_audit action=search info=granted search=* 
     NOT "search_id='scheduler" 
     NOT "search='|history" 
     NOT "user=splunk-system-user" 
     NOT "search='typeahead" 
     NOT "search='| metadata type=* | search totalCount>0"
 | fields user, search, _time, search_id
 | eval search_id = trim(replace(search_id, "\'", ""))

Have a look at https://answers.splunk.com/answers/369183/splunk-searches-run-by-user.html

View solution in original post

0 Karma

493669
Super Champion

Hi @abhijit_mhatre,
Try this:

index=_audit action=search info=granted search=* 
     NOT "search_id='scheduler" 
     NOT "search='|history" 
     NOT "user=splunk-system-user" 
     NOT "search='typeahead" 
     NOT "search='| metadata type=* | search totalCount>0"
 | fields user, search, _time, search_id
 | eval search_id = trim(replace(search_id, "\'", ""))

Have a look at https://answers.splunk.com/answers/369183/splunk-searches-run-by-user.html

0 Karma
Get Updates on the Splunk Community!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...