Dashboards & Visualizations

Is it possible to start a search while dynamic dropdown is still populating with results (assuming a default option)?

alaorath
Path Finder

I have a simple dashboard for users to view logs and filter the results based on IP address.

Problem is, the main search doesn't complete until the "Filter by IP address" input is fully populated. Since I also have a default value for the input, I was hoping there was a way in SimpleXML to force the query to start immediately (using the default) on page load.

It seems the token only gets updated once the populatingSearch from the input is finished (easily tested by refreshing the browser and watching the "populating" under the input to disappear... as soon as it does, the main search immediately changes from "Search is waiting for input.." to "Waiting for data...").

0 Karma
1 Solution

stephanefotso
Motivator

Your populating search is one search job, and your main search is annother search job, but since the main search is using a token from your dropdown menu to accomplish the search, it will wait until the first search job is completed. That is why your main search will not start, until the first search job is completed. There is no thing to do, your main search will always wait until the dropdown is populated before waiting for data, and then display resulsts.
Thanks

SGF

View solution in original post

0 Karma

stephanefotso
Motivator

Your populating search is one search job, and your main search is annother search job, but since the main search is using a token from your dropdown menu to accomplish the search, it will wait until the first search job is completed. That is why your main search will not start, until the first search job is completed. There is no thing to do, your main search will always wait until the dropdown is populated before waiting for data, and then display resulsts.
Thanks

SGF
0 Karma

alaorath
Path Finder

That's about what I figured... but I was hoping with a default value specified it would be able to start the main search before the dropdown was populated.

0 Karma
Get Updates on the Splunk Community!

Fastest way to demo Observability

I’ve been having a lot of fun learning about Kubernetes and Observability. I set myself an interesting ...

September Community Champions: A Shoutout to Our Contributors!

As we close the books on another fantastic month, we want to take a moment to celebrate the people who are the ...

Splunk Decoded: Service Maps vs Service Analyzer Tree View vs Flow Maps

It’s Monday morning, and your phone is buzzing with alert escalations – your customer-facing portal is running ...