Splunk Search

Is it possible to hide horizontal lines in column chart?

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

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

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

Splunk Employee
Splunk Employee

You can hide these lines using CSS like so:

.highcharts-grid path {
display: none;
}

0 Karma
State of Splunk Careers

Access the Splunk Careers Report to see real data that shows how Splunk mastery increases your value and job satisfaction.

Find out what your skills are worth!