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!

Stay Connected: Your Guide to May Tech Talks, Office Hours, and Webinars!

Take a look below to explore our upcoming Community Office Hours, Tech Talks, and Webinars this month. This ...

They're back! Join the SplunkTrust and MVP at .conf24

With our highly anticipated annual conference, .conf, comes the fez-wearers you can trust! The SplunkTrust, as ...

Enterprise Security Content Update (ESCU) | New Releases

Last month, the Splunk Threat Research Team had two releases of new security content via the Enterprise ...