Splunk Search

Sync Y Axis Between Two Charts

David
Splunk Employee
Splunk Employee

I know the answer to this is "no," but I wanted to verify, since it was requested.

If I have two side-by-side stacked area charts showing response types for two Servers, one which handles 4000 Hits Per Second, one which handles 1000 Hits Per Second, is there any way to sync the scale of the Y axis, so that it doesn't visually appear that they're handling the same amount of traffic?

Edit: I initially left out that I need it to be dynamic, so that if, for another pair of servers, one has 200 and the other 75, it will also look reasonable.

Tags (1)
0 Karma

bbingham
Builder

You can manually override the scale of any graph, under your xml for you dashboard, add in your scale marker (edit dashboard, down at the bottom choose "edit name/XML"

Place this in the charts you wish to modify:

 <option name="charting.axisY">numeric</option>
 <option name="charting.axisY.minimumNumber">0</option>
 <option name="charting.axisY.maximumNumber">4000</option>

This is for simple dashboards, if you need the "advanced" xml let me know. Make sure this is between the < chart > and < /chart > tags

David
Splunk Employee
Splunk Employee

Ah, my apologies for leaving this out - I need it to be dynamically assigned, so that if I look at two other servers that do 200 and 75 hits per second, it won't be completely out of scale.

0 Karma
Get Updates on the Splunk Community!

Introducing Splunk Enterprise 9.2

WATCH HERE! Watch this Tech Talk to learn about the latest features and enhancements shipped in the new Splunk ...

Adoption of RUM and APM at Splunk

    Unleash the power of Splunk Observability   Watch Now In this can't miss Tech Talk! The Splunk Growth ...

Routing logs with Splunk OTel Collector for Kubernetes

The Splunk Distribution of the OpenTelemetry (OTel) Collector is a product that provides a way to ingest ...