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!

Fall Into Learning with New Splunk Education Courses

Every month, Splunk Education releases new courses to help you branch out, strengthen your data science roots, ...

Super Optimize your Splunk Stats Searches: Unlocking the Power of tstats, TERM, and ...

By Martin Hettervik, Senior Consultant and Team Leader at Accelerate at Iver, Splunk MVPThe stats command is ...

How Splunk Observability Cloud Prevented a Major Payment Crisis in Minutes

Your bank's payment processing system is humming along during a busy afternoon, handling millions in hourly ...