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!

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...