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!

Introducing the Splunk Community Dashboard Challenge!

Welcome to Splunk Community Dashboard Challenge! This is your chance to showcase your skills in creating ...

Wondering How to Build Resiliency in the Cloud?

IT leaders are choosing Splunk Cloud as an ideal cloud transformation platform to drive business resilience,  ...

Updated Data Management and AWS GDI Inventory in Splunk Observability

We’re making some changes to Data Management and Infrastructure Inventory for AWS. The Data Management page, ...