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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...