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!

Splunk Community Badges!

  Hey everyone! Ready to earn some serious bragging rights in the community? Along with our existing badges ...

How to find the worst searches in your Splunk environment and how to fix them

Everyone knows Splunk is a powerful platform for running searches and doing data analytics. Your ...

Share Your Feedback: On Admin Config Service (ACS)!

Help Us Build a Better Admin Config Service Experience (ACS)   We Want Your Feedback on Admin Config Service ...