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!

What's new in Splunk Cloud Platform 9.1.2312?

Hi Splunky people! We are excited to share the newest updates in Splunk Cloud Platform 9.1.2312! Analysts can ...

What’s New in Splunk Security Essentials 3.8.0?

Splunk Security Essentials (SSE) is an app that can amplify the power of your existing Splunk Cloud Platform, ...

Let’s Get You Certified – Vegas-Style at .conf24

Are you ready to level up your Splunk game? Then, let’s get you certified live at .conf24 – our annual user ...