Splunk Dev

Can you help me find the user count over a certain timespan?

zacksoft
Contributor

My application logs transaction data into Splunk, and from it, I know what user is performing what transaction.

Example : Sometimes, in a 15 min span, there are are just 2 users with 30 transactions.

I want to be able to know the total distinct user count in a span of 15 min over a period of one week.

Tags (1)
0 Karma
1 Solution

adonio
Ultra Champion

hope i understand the question,
if your field for user is: "user"
try something along those lines:
... | timechart dc(user) as unique_users span=15m

View solution in original post

0 Karma

adonio
Ultra Champion

hope i understand the question,
if your field for user is: "user"
try something along those lines:
... | timechart dc(user) as unique_users span=15m

0 Karma

zacksoft
Contributor

This helps. Thank you.

0 Karma

skoelpin
SplunkTrust
SplunkTrust

Accept the answer if it helped you...

0 Karma
Get Updates on the Splunk Community!

What’s New & Next in Splunk SOAR

Security teams today are dealing with more alerts, more tools, and more pressure than ever.  Join us on ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

Splunk Lantern is a Splunk customer success center that provides advice from Splunk experts on valuable data ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...