Splunk Search

How can I search top 10 users of splunk ?

splunker969
Communicator

How can I search top 10 users of splunk ? Any query Help ?? Iam not sure below query is correct ?

index=_audit action="success" info=succeeded | stats count by user | sort - count | head 10

Tags (2)
0 Karma

s2_splunk
Splunk Employee
Splunk Employee

Is the top command what you are looking for?

0 Karma

splunker969
Communicator

Users running more adhoc searches?

Users running more schedule searches?

Users logging in more times?

Users visiting more dashboards?
@ssievert

0 Karma

493669
Super Champion

Try Below query

| rest /services/authentication/httpauth-tokens splunk_server=local |stats count by userName |sort - count | head 10

It will work

0 Karma

splunker969
Communicator

Thanks @493669 .Since i am looking for above @ @gpradeepkumararreddy mentioned .The query that you sent will help to check which splunk servers user are logging .Thanks for the query 🙂

0 Karma

pradeepkumarg
Influencer

What do you mean by top 10 users? There are different dimension to this.

Probably you can combine all of the below to achieve what you are looking at

  1. Users running more adhoc searches? - audit logs
  2. Users running more schedule searches? - scheduler logs
  3. Users logging in more times? - audit logs
  4. Users visiting more dashboards? - web access logs
0 Karma

splunker969
Communicator

Can you please help me with query @gpradeepkumararreddy

0 Karma

splunker969
Communicator

@somesoni2 any help ?

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

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

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...