Dashboards & Visualizations

threshold line time chart graph.

sbhatnagar88
Path Finder

I have a time chart graph for disk utilization. Requirement is to add a static red color line as a threshold limit at 90% in X axis.. Can some one suggest how can we do that.

Tags (1)
0 Karma

vnravikumar
Champion

Hi @sbhatnagar88

Try this

        <option name="charting.chart.overlayFields">threshold</option>
        <option name="charting.fieldColors">{"threshold":#ff0000}</option>
0 Karma

chrisyounger
SplunkTrust
SplunkTrust

One way you could do it would be to just add | eval threshold = 90 at the

index=_internal| timechart count by log_level | eval threshold = 90

Then go into the chart formatting options > "Chart Overlay" and set the threshold field as an overlay.

Hope this helps!

0 Karma

sbhatnagar88
Path Finder

Hi Chris,

That helped!!..can we also make the color of threshold line RED so that it should be visible easily and different from other lines.

Thanks

0 Karma
Get Updates on the Splunk Community!

Announcing Scheduled Export GA for Dashboard Studio

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

Extending Observability Content to Splunk Cloud

Watch Now!   In this Extending Observability Content to Splunk Cloud Tech Talk, you'll see how to leverage ...

More Control Over Your Monitoring Costs with Archived Metrics GA in US-AWS!

What if there was a way you could keep all the metrics data you need while saving on storage costs?This is now ...