Splunk Search

Scaling y axis to +/- 5 of data set?

talbot7
Path Finder

Displaying outside temperature with timechart. The graph show 0~100, but my entire data set is 70~90. Is there a way to dynamically (Not static: minimumNumber 65, maximumNumber 95) confine the Y axis of the graph to +/- 5 of the data set?

Tags (3)

bjoernjensen
Contributor

I might miss the point here, but I just had a look with Splunk 6.2.0 on the following _internal-search:

index=_internal earliest=-10m latest=now | eval temp=50+(random()*0.000000020) |search temp=* | table _time temp | timechart span=10s avg(temp) | eventstats min(Temperature) as Minimum max(Temperature) as Maximum

Looks to me timechart does what you would like:
alt text

0 Karma

Ricapar
Communicator

I'm also looking for the same thing here.

It is not uncommon to have data that fluctuates over time, and hard-coding the min/max numbers isn't really a feasible solution.

0 Karma
Get Updates on the Splunk Community!

Webinar Recap | Revolutionizing IT Operations: The Transformative Power of AI and ML ...

The Transformative Power of AI and ML in Enhancing Observability   In the realm of IT operations, the ...

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...