Dashboards & Visualizations

Why am I getting a "Search is waiting for input" message on my dashboard panel?

Ilya_Demin_1
Engager

It looks like the token name parser of Splunk contains a bug, otherwise why would it expect to find a token in this eval expression which I simplified for better clarity:

eval x=if(match(url,"test$"),if(match(url,"onemoretest$"),"",""),"","")

 I know that if I change it to double $$ it will work OK:

eval x=if(match(url,"test$$"),if(match(url,"onemoretest$"),"",""),"","")

Because of this alleged bug, my dashboard doesn't work properly. It seems that the token parser doesn't recognize any stop characters (like ",) and even space etc.) outside the allowed range of characters for token naming. Any help would be greatly appreciated!

Labels (4)
0 Karma
1 Solution

ITWhisperer
SplunkTrust
SplunkTrust

The token parsing is purely syntactic not semantic i.e. is does not take account of the context in which it finds the $. As you have already discovered, the work around is to double up on the $

View solution in original post

ITWhisperer
SplunkTrust
SplunkTrust

The token parsing is purely syntactic not semantic i.e. is does not take account of the context in which it finds the $. As you have already discovered, the work around is to double up on the $

Get Updates on the Splunk Community!

Upcoming Webinar: Unmasking Insider Threats with Slunk Enterprise Security’s UEBA

Join us on Wed, Dec 10. at 10AM PST / 1PM EST for a live webinar and demo with Splunk experts! Discover how ...

.conf25 technical session recap of Observability for Gen AI: Monitoring LLM ...

If you’re unfamiliar, .conf is Splunk’s premier event where the Splunk community, customers, partners, and ...

A Season of Skills: New Splunk Courses to Light Up Your Learning Journey

There’s something special about this time of year—maybe it’s the glow of the holidays, maybe it’s the ...