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!

Celebrating Fast Lane: 2025 Authorized Learning Partner of the Year

At .conf25, Splunk proudly recognized Fast Lane as the 2025 Authorized Learning Partner of the Year. This ...

Tech Talk Recap | Mastering Threat Hunting

Mastering Threat HuntingDive into the world of threat hunting, exploring the key differences between ...

Observability for AI Applications: Troubleshooting Latency

If you’re working with proprietary company data, you’re probably going to have a locally hosted LLM or many ...