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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...