Splunk Search

How to generate a search for url's accessed by user

rashi83
Path Finder

I have many URI's and a user field available and want to count the times URI has been accessed by user.
Like:

URI         user      count
/google.com testuser1 1000
/bing.com   testuser2 2
/bing.com   testuser1 100
0 Karma
1 Solution

richgalloway
SplunkTrust
SplunkTrust

That's a job for the stats command. Add stats count by URI, user to your search.

---
If this reply helps you, Karma would be appreciated.

View solution in original post

0 Karma

richgalloway
SplunkTrust
SplunkTrust

That's a job for the stats command. Add stats count by URI, user to your search.

---
If this reply helps you, Karma would be appreciated.
0 Karma
Get Updates on the Splunk Community!

Detecting Remote Code Executions With the Splunk Threat Research Team

REGISTER NOWRemote code execution (RCE) vulnerabilities pose a significant risk to organizations. If ...

Observability | Use Synthetic Monitoring for Website Metadata Verification

If you are on Splunk Observability Cloud, you may already have Synthetic Monitoringin your observability ...

More Ways To Control Your Costs With Archived Metrics | Register for Tech Talk

Tuesday, May 14, 2024  |  11AM PT / 2PM ET Register to Attend Join us for this Tech Talk and learn how to ...