Splunk Search

common among all users

mcbradford
Contributor

I have been asked to identify a list of all websites that a group of users has visited, but the spin on it is that each user must have visited the same website.

For example; user a, b, and c visits google.com, but user d does not, then google would not be in the results. If user a, b, c and d visits abc.com, then abc would be in the results.

Tags (1)
0 Karma
1 Solution

somesoni2
Revered Legend

Try this.

Assuming you have search which returns list of USER and WEBSITE used by user.

your base search returning USER and WEBSITE | table USER, WEBSITE | eventstats dc(USER) as TotalUsers | stats count by WEBSITE, TotalUsers | where count=TotalUsers

View solution in original post

0 Karma

somesoni2
Revered Legend

Try this.

Assuming you have search which returns list of USER and WEBSITE used by user.

your base search returning USER and WEBSITE | table USER, WEBSITE | eventstats dc(USER) as TotalUsers | stats count by WEBSITE, TotalUsers | where count=TotalUsers
0 Karma

mcbradford
Contributor

Worked perfect - thanks

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 ...