Splunk Search

How do I change bar color based on y axis value in timechart?

Digister
Explorer

Hi there,

I have already found several answers to the question about how to apply color ranges on the column chart, but I didn't manage to get them to work using a timechart.

My search looks like this:
index="index" startupTime=* | timechart span=1hour count(startupTime) by host limit=0
I have like 100 hosts and I want to mark hosts green which are only having one restart an hour, 2-4 restarts yellow and 4-max red.

Is this somehow possible using a time chart?

Thanks in advance

0 Karma
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...