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!

.conf24 | Registration Open!

Hello, hello! I come bearing good news: Registration for .conf24 is now open!   conf is Splunk’s rad annual ...

ICYMI - Check out the latest releases of Splunk Edge Processor

Splunk is pleased to announce the latest enhancements to Splunk Edge Processor.  HEC Receiver authorization ...

Introducing the 2024 SplunkTrust!

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