Dashboards & Visualizations

Search waiting for input... no chart is displayed when running Dashboard

quanteq
Path Finder

When using the following search:
source="HomeDP561210.csv" host="Owner-PC" sourcetype="csv" ContractingAgency="" tag=Home tag=Home | eval ActionObligationS1=tonumber(replace(ActionObligationS,",","")) | eventstats sum(ActionObligationS1) as Total | eval Total=if(Total>0,"$".tostring(Total,"commas"),"($".tostring(Total-1,"commas").")")

  1. When creating a Bar Chart in Visualization with the Top values
    of my above search which we then change to a Pie Chart, we save as a Dashboard panel

  2. When viewing the saved Dashboard panel the message "Search is waiting for input..." is displayed without the newly created Pie Chart.

0 Karma
1 Solution

tom_frotscher
Builder

Hi,

change it to this:

source="HomeDP561210.csv" host="Owner-PC" sourcetype="csv" ContractingAgency="" tag=Home tag=Home | eval ActionObligationS1=tonumber(replace(ActionObligationS,",","")) | eventstats sum(ActionObligationS1) as Total | eval Total=if(Total>0,"$$".tostring(Total,"commas"),"($$".tostring(Total-1,"commas").")")

It looks like a conflict with the token syntax on dashboards, i only changed from one dollor sign to two dollar signs. ($ -> $$)

Greetings

Tom

View solution in original post

tom_frotscher
Builder

Hi,

change it to this:

source="HomeDP561210.csv" host="Owner-PC" sourcetype="csv" ContractingAgency="" tag=Home tag=Home | eval ActionObligationS1=tonumber(replace(ActionObligationS,",","")) | eventstats sum(ActionObligationS1) as Total | eval Total=if(Total>0,"$$".tostring(Total,"commas"),"($$".tostring(Total-1,"commas").")")

It looks like a conflict with the token syntax on dashboards, i only changed from one dollor sign to two dollar signs. ($ -> $$)

Greetings

Tom

quanteq
Path Finder

Tom,

Thanks for your input. It worked well!

Juan

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!

[Puzzles] Solve, Learn, Repeat: Character substitutions with Regular Expressions

This challenge was first posted on Slack #puzzles channelFor BORE at .conf23, we had a puzzle question which ...

Splunk Community Badges!

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

[Puzzles] Solve, Learn, Repeat: Matching cron expressions

This puzzle (first published here) is based on matching timestamps to cron expressions.All the timestamps ...