Deployment Architecture

Average latency per hour

tmarlette
Motivator

I am attempting to find out the average latency of my requests by ip, per hour, over a 24 hour period. I'm sure i'm making this far too complicated, but it's friday at 5pm. 😃

The search I'm using:

website=services* NOT hck=* | bucket _time span=60min | stats avg(time_taken) by clientip

this is returning a single value, so i would assume that splunk is averaging the values per hour, and giving that single value? any help is appreciated!

Tags (2)
0 Karma
1 Solution

kristian_kolb
Ultra Champion

Your search does not take the time information into account;

website=services* NOT hck=* | bucket _time span=60min | stats avg(time_taken) by clientip, _time

OR

website=services* NOT hck* | timechart span=1h avg(time_taken) by clientip

is more likely what you need, but with many IP's the graph may not be all that nice.

/K

View solution in original post

kristian_kolb
Ultra Champion

Your search does not take the time information into account;

website=services* NOT hck=* | bucket _time span=60min | stats avg(time_taken) by clientip, _time

OR

website=services* NOT hck* | timechart span=1h avg(time_taken) by clientip

is more likely what you need, but with many IP's the graph may not be all that nice.

/K

Get Updates on the Splunk Community!

🔐 Trust at Every Hop: How mTLS in Splunk Enterprise 10.0 Makes Security Simpler

From Idea to Implementation: Why Splunk Built mTLS into Splunk Enterprise 10.0  mTLS wasn’t just a checkbox ...

Observe and Secure All Apps with Splunk

  Join Us for Our Next Tech Talk: Observe and Secure All Apps with SplunkAs organizations continue to innovate ...

Splunk Decoded: Business Transactions vs Business IQ

It’s the morning of Black Friday, and your e-commerce site is handling 10x normal traffic. Orders are flowing, ...