Dashboards & Visualizations

Sorting the values for the chart

splunkpoornima
Communicator

| savedsearch "searchduration" | join TaskBP [ | savedsearch "searchavgduration" ]|eval Diff=duration-Avgduration|table TaskBP Diff|

after running this query ,i got the output as

TaskNmae Diff

A -345

B -122

C 867

D 111

What i need is i want to plot the chart so that the negative charts sholud be upside down and the positive values should be upside Top

Tags (2)
0 Karma

Gilberto_Castil
Splunk Employee
Splunk Employee

If the fields are clearly defined and the fields have the appropriate data, then you can use the following to complement your search:

| chart list(Diff) AS Diff by TaskName

That should do it. Let us know if this works.

0 Karma

splunkpoornima
Communicator

hi Glib,

i tried it shows the TaskName and the List od Diff values ..but it shows some error as "chart has limited size due to that some values got ignored and truncated"

0 Karma
Get Updates on the Splunk Community!

Introducing the 2024 SplunkTrust!

Hello, Splunk Community! We are beyond thrilled to announce our newest group of SplunkTrust members!  The ...

Introducing the 2024 Splunk MVPs!

We are excited to announce the 2024 cohort of the Splunk MVP program. Splunk MVPs are passionate members of ...

Splunk Custom Visualizations App End of Life

The Splunk Custom Visualizations apps End of Life for SimpleXML will reach end of support on Dec 21, 2024, ...