Splunk Search

Querying raw data point for 24hr window time chart not displaying all values?

jaj
Path Finder

source= "KeyOfThis" | table theRawValue, _time | chart values(theRawValue) by _time

So, when I run this query there is an event with a large Raw value for a given date that I need to display (and for any large value that looks out of control). I can get this data value to show up in my line graph within 15min timeframe. However, when I try to fit it within the last 8hrs (let alone the last 24hrs) for that same chart the value doesn't show up because there is too much data to display apparently as the day/month for that data point is not showing up. The date range is short by two days so that value is not showing up in the chart.

How can I display all the raw values within an 8hr or 24hr time frame without having to average?

Tags (1)
0 Karma
1 Solution

lguinn2
Legend

Splunk is not going to be able to display that many data points. Plus, I don't think that the values function what you want. However, one way to show fewer points is to only show the large values, perhaps like this

source=<source.log> "KeyOfThis"
| timechart span=5m max(theRawValue)

Which will show the maximum value seen in each 5 minute period.

View solution in original post

lguinn2
Legend

Splunk is not going to be able to display that many data points. Plus, I don't think that the values function what you want. However, one way to show fewer points is to only show the large values, perhaps like this

source=<source.log> "KeyOfThis"
| timechart span=5m max(theRawValue)

Which will show the maximum value seen in each 5 minute period.

Get Updates on the Splunk Community!

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

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...