Splunk Search

Using timechart to show the number of users in the busiest minute against a one hour span

SleepyGuy
Engager

Hi,

I'm after some assistance.

I am trying to capture the peak number of concurrent users in a single minute block using timecharts.  I can do this one minute blocks no problem.  

Where this gets complicated is that I have been given the requirement that I should be able to change the timechart span from 1m to 1h and identify the peak minute with the highest number of users within each hour (if hour selected) and display the number of users for that peak minute (frather than the peak number of users for that hour).

Can anyone assist me with this, or advise if it's even possible?

Thanks

Labels (1)
0 Karma

SleepyGuy
Engager

Thanks, I hadn't considered that.  I'll give that a try.

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

Assuming you have a count per minute, you can add another timechart command

| timechart span=1h max(count) as peak_per_minute

SleepyGuy
Engager

Thanks, I hadn't considered that. I'll give that a try.

0 Karma
Get Updates on the Splunk Community!

Dashboards: Hiding charts while search is being executed and other uses for tokens

There are a couple of features of SimpleXML / Classic dashboards that can be used to enhance the user ...

Splunk Observability Cloud's AI Assistant in Action Series: Explaining Metrics and ...

This is the fourth post in the Splunk Observability Cloud’s AI Assistant in Action series that digs into how ...

Brains, Bytes, and Boston: Learn from the Best at .conf25

When you think of Boston, you might picture colonial charm, world-class universities, or even the crack of a ...