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!

SOC4Kafka - New Kafka Connector Powered by OpenTelemetry

The new SOC4Kafka connector, built on OpenTelemetry, enables the collection of Kafka messages and forwards ...

Your Voice Matters! Help Us Shape the New Splunk Lantern Experience

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

Building Momentum: Splunk Developer Program at .conf25

At Splunk, developers are at the heart of innovation. That’s why this year at .conf25, we officially launched ...