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!

Index This | I am a number, but when you add ‘G’ to me, I go away. What number am I?

March 2024 Edition Hayyy Splunk Education Enthusiasts and the Eternally Curious!  We’re back with another ...

What’s New in Splunk App for PCI Compliance 5.3.1?

The Splunk App for PCI Compliance allows customers to extend the power of their existing Splunk solution with ...

Extending Observability Content to Splunk Cloud

Register to join us !   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to ...