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!

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...