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!

[Puzzles] Solve, Learn, Repeat: Dynamic formatting from XML events

This challenge was first posted on Slack #puzzles channelFor a previous puzzle, I needed a set of fixed-length ...

Enter the Agentic Era with Splunk AI Assistant for SPL 1.4

  🚀 Your data just got a serious AI upgrade — are you ready? Say hello to the Agentic Era with the ...

Stronger Security with Federated Search for S3, GCP SQL & Australian Threat ...

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