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!

Community Content Calendar, November Edition

Welcome to the November edition of our Community Spotlight! Each month, we dive into the Splunk Community to ...

October Community Champions: A Shoutout to Our Contributors!

As October comes to a close, we want to take a moment to celebrate the people who make the Splunk Community ...

Stay Connected: Your Guide to November Tech Talks, Office Hours, and Webinars!

What are Community Office Hours? Community Office Hours is an interactive 60-minute Zoom series where ...