Getting Data In

Why is Search in dashboard ending with "waiting for data"?

rrovers
Contributor

1 search in a dashboard ends with "waiting for data" for 3 of about 300 organisations. The organisation-name is part of the url.  The search ends correctly for most of the organisations.

After refreshing the search (in the dashboard) or clicking on the magnifying glass the result of the search is shown. 
Job inspection gives no error.

Any idea why what can be the reason that the result is not shown in the dashboard directly?

Labels (1)
Tags (2)
0 Karma

bowesmana
SplunkTrust
SplunkTrust

That waiting for data is generally a token issue - if it's consistently the same 3, is there something distinct with the names? 

What's the query containing the token and if you can share and working/non-working example name. Could be encoding, spaces or some other thing.

Is this search using a base search?

 

0 Karma

PickleRick
SplunkTrust
SplunkTrust

There can be several reasons the typical being reaching your user's search limits and the search being queued.

Of course it can also rely on some parts of search being populated by tokens from other parts of the dashboard or such.

0 Karma

rrovers
Contributor

There is 1 token in it but that doesn't seem to be the problem. 

I solved it now by using a join in stead of index=1... OR index=2.. and that seems to work fine (I know, using a join is not advised).  So 

index=1... join type=inner id [search index=2..]

I don't know why the "OR" doesn't work. Maybe caused by a lot of events (2,7 mln for the first index).  But that is also the case with other organisations that do give a result.

 

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!

Announcing Modern Navigation: A New Era of Splunk User Experience

We are excited to introduce the Modern Navigation feature in the Splunk Platform, available to both cloud and ...

Modernize your Splunk Apps – Introducing Python 3.13 in Splunk

We are excited to announce that the upcoming releases of Splunk Enterprise 10.2.x and Splunk Cloud Platform ...

Step into “Hunt the Insider: An Splunk ES Premier Mystery” to catch a cybercriminal ...

After a whole week of being on call, you fell asleep on your keyboard, and you hit a sequence of buttons that ...