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
Got questions? Get answers!

Join the Splunk Community Slack to learn, troubleshoot, and make connections with fellow Splunk practitioners in real time!

Meet up IRL or virtually!

Join Splunk User Groups to connect and learn in-person by region or remotely by topic or industry.

Get Updates on the Splunk Community!

Observability Simplified: Combining User Experience, Application Performance & ...

Tech Talk Observability Simplified: Combining User Experience, Application Performance & Network ...

Event Series May & June: From Network Visibility to Service Intelligence

Unifying the Network: Moving from Alert Noise to Service Intelligence with Splunk ITSI In today’s hybrid ...

Global Splunk User Group Events: May + June 2026

Your Splunk Community Awaits: Discover Upcoming User Group Events Worldwide    Staying ahead in the fast-paced ...