Dashboards & Visualizations

Rearranging the blocks of bar chart according to the customized order?

Vish
Explorer

Hi All, the below is a bar chart which has the ordered the blocks of bar chart according to alphabet but i want in this order pa , failed, aborted, not tested.

and also is it possible to rearrange like this in XML code itself ?

 

Vish_0-1688962446579.png

Labels (2)
0 Karma

yeahnah
Motivator

Hi @Vish 

The example you show is a column chart.  You can order the fields with the table command like this example

...your search...
| table _time pa failed aborted "not tested"


Note, field names are case sensitive so you'll need to change to match you result set.

Hope that helps

0 Karma

Vish
Explorer

The Above didnt work
 getting this as the output

Vish_0-1688974146791.png

 

0 Karma
Get Updates on the Splunk Community!

Unleash Unified Security and Observability with Splunk Cloud Platform

     Now Available on Microsoft AzureThursday, March 27, 2025  |  11AM PST / 2PM EST | Register NowStep boldly ...

Splunk AppDynamics with Cisco Secure Application

Web applications unfortunately present a target rich environment for security vulnerabilities and attacks. ...

New Splunk Innovations Enhance Performance and Accelerate Troubleshooting

Splunk is excited to announce new releases that empower ITOps and engineering teams to stay ahead in ever ...