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
Career Survey
First 500 qualified respondents will receive a $20 gift card! Tell us about your professional Splunk journey.

Can’t make it to .conf25? Join us online!

Get Updates on the Splunk Community!

What Is Splunk? Here’s What You Can Do with Splunk

Hey Splunk Community, we know you know Splunk. You likely leverage its unparalleled ability to ingest, index, ...

Level Up Your .conf25: Splunk Arcade Comes to Boston

With .conf25 right around the corner in Boston, there’s a lot to look forward to — inspiring keynotes, ...

Manual Instrumentation with Splunk Observability Cloud: How to Instrument Frontend ...

Although it might seem daunting, as we’ve seen in this series, manual instrumentation can be straightforward ...