Reporting

How can I change the color of a bar chart in Splunk Studio 9.0.3?

AlejandroRmM
Engager

AlejandroRmM_0-1720207776464.png

I want to change the color of the bars to green for approved and red for declined. I have tried using seriesColorsByField, but it does not change the color

AlejandroRmM_1-1720208172734.png

 

 

0 Karma

ITWhisperer
SplunkTrust
SplunkTrust

"Approved", "Declined" etc are not series, they are values on the x-axis. You need to refactor your search to create series. If you need help doing that, please share your data source code.

0 Karma

AlejandroRmM
Engager

I made changes, but I can't manage to change the color.

index="db_pci_mssqlatom" sourcetype=*
| dedup 1 _raw
| top trans_status showperc=0
| transpose 0 header_field=trans_status
| search column="count"

AlejandroRmM_0-1720464785163.pngAlejandroRmM_1-1720464805217.png

 

0 Karma
Get Updates on the Splunk Community!

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL

Splunk AI Assistant for SPL | Key Use Cases to Unlock the Power of SPL  The Splunk AI Assistant for SPL ...

Buttercup Games: Further Dashboarding Techniques (Part 5)

This series of blogs assumes you have already completed the Splunk Enterprise Search Tutorial as it uses the ...

Customers Increasingly Choose Splunk for Observability

For the second year in a row, Splunk was recognized as a Leader in the 2024 Gartner® Magic Quadrant™ for ...