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!

Strengthen Your Future: A Look Back at Splunk 10 Innovations and .conf25 Highlights!

The Big One: Splunk 10 is Here!  The moment many of you have been waiting for has arrived! We are thrilled to ...

Now Offering the AI Assistant Usage Dashboard in Cloud Monitoring Console

Today, we’re excited to announce the release of a brand new AI assistant usage dashboard in Cloud Monitoring ...

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

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