Splunk Search

Is my search syntax for finding top 10 URLs visited by user correct?

bagarwal
Path Finder

Hello Everyone,

I am running a search to find out the top 10 URLs visited by a single user:

index=ciscoasa user="" | top  10 URL

Is the search syntax fine? Because it is taking a lot of time to retrieve the results. Is there another way?

Thanks & Regards,
Binay Agarwal

Tags (3)
0 Karma
1 Solution

skoelpin
SplunkTrust
SplunkTrust

Yes this is correct, just assuming you have a value in user="skoelpin"

I'm assuming your index is pretty massive since it has a lot of URLs in it. To decrease the time you could use event sampling, narrow down the time range, or put your data into a summary index which would massively increase the reporting speed.

https://wiki.splunk.com/Community:Summary_Indexing

View solution in original post

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Yes this is correct, just assuming you have a value in user="skoelpin"

I'm assuming your index is pretty massive since it has a lot of URLs in it. To decrease the time you could use event sampling, narrow down the time range, or put your data into a summary index which would massively increase the reporting speed.

https://wiki.splunk.com/Community:Summary_Indexing

0 Karma
Get Updates on the Splunk Community!

Fun with Regular Expression - multiples of nine

Fun with Regular Expression - multiples of nineThis challenge was first posted on Slack #regex channel ...

[Live Demo] Watch SOC transformation in action with the reimagined Splunk Enterprise ...

Overwhelmed SOC? Splunk ES Has Your Back Tool sprawl, alert fatigue, and endless context switching are making ...

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...