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!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...