Splunk Search

Is it possible to hide horizontal lines in column chart?

valentinv
Explorer

Hi guys!

It is possible to hide white horizontal lines in column chart (the ones that appear when you set the interval on Y axis)?

I would like to have 3 lines instead: two threshold with different colors and one line which display the value.

Thanks.

0 Karma

jconger
Splunk Employee
Splunk Employee

You can do something like this:

index=_internal | eval min_threshold=3000 | eval max_threshold=7000 | timechart count(sourcetype) as sourcetype avg(min_threshold) as min_threshold avg(max_threshold) as max_threshold

Then, in the visualization options, set min_threshold and max_threshold as overlays. This will create a column chart with 2 lines.

alt text

valentinv
Explorer

jconger, thanks for replying.

That part you showed me is already done, I need to hide those 2 white lines from background which are by default.

Is it possible?

0 Karma

jconger
Splunk Employee
Splunk Employee

You can hide these lines using CSS like so:

.highcharts-grid path {
display: none;
}

0 Karma
Get Updates on the Splunk Community!

More Control Over Your Monitoring Costs with Archived Metrics!

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

New in Observability Cloud - Explicit Bucket Histograms

Splunk introduces native support for histograms as a metric data type within Observability Cloud with Explicit ...

Updated Team Landing Page in Splunk Observability

We’re making some changes to the team landing page in Splunk Observability, based on your feedback. The ...