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!

Building Reliable Asset and Identity Frameworks in Splunk ES

 Accurate asset and identity resolution is the backbone of security operations. Without it, alerts are ...

Cloud Monitoring Console - Unlocking Greater Visibility in SVC Usage Reporting

For Splunk Cloud customers, understanding and optimizing Splunk Virtual Compute (SVC) usage and resource ...

Automatic Discovery Part 3: Practical Use Cases

If you’ve enabled Automatic Discovery in your install of the Splunk Distribution of the OpenTelemetry ...