Splunk Search

Is it possible to alternate colors and values for bar chart on weekly basis?

verothor
Path Finder

Hi all,

I want to ask if it's even possible to somehow alternate the values in stacked bar chart, that one week the field 1 will be down and field 2 up and second week the opposite.

This is current state and next week should be in reverse.

Is that even possible with bar chart?

pic.png

 

Labels (1)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

This is not possible with a standard chart. Having said that, you could spoof it by having 3 series instead of 2 (the third series being a duplicate of the first), and set the third series to zero in the first week, and the third series to zero in the second week, then assign the same colours to series 1 and 3

View solution in original post

verothor
Path Finder

Hmm.. that sound promissingly.. I will give it a try.. going to play with it.. thank you 🙂

0 Karma

verothor
Path Finder

Thanks for quick answer

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

This is not possible with a standard chart. Having said that, you could spoof it by having 3 series instead of 2 (the third series being a duplicate of the first), and set the third series to zero in the first week, and the third series to zero in the second week, then assign the same colours to series 1 and 3

verothor
Path Finder

This was so great idea, it really works.. thank you so much 😁

0 Karma
Get Updates on the Splunk Community!

Splunk Observability for AI

Don’t miss out on an exciting Tech Talk on Splunk Observability for AI!Discover how Splunk’s agentic AI ...

Splunk Enterprise Security 8.x: The Essential Upgrade for Threat Detection, ...

Watch On Demand the Tech Talk on November 6 at 11AM PT, and empower your SOC to reach new heights! Duration: ...

Splunk Observability as Code: From Zero to Dashboard

For the details on what Self-Service Observability and Observability as Code is, we have some awesome content ...