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!

Join Us for Splunk University and Get Your Bootcamp Game On!

If you know, you know! Splunk University is the vibe this summer so register today for bootcamps galore ...

.conf24 | Learning Tracks for Security, Observability, Platform, and Developers!

.conf24 is taking place at The Venetian in Las Vegas from June 11 - 14. Continue reading to learn about the ...

Announcing Scheduled Export GA for Dashboard Studio

We're excited to announce the general availability of Scheduled Export for Dashboard Studio. Starting in ...