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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...