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!

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!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...