|
A simple query runs very quickly (3s)... but when I use that same query to build a dynamic form (either radio or dropdown) the query takes apporx 60s. As a test I have eliminated charts so the form only creates a dropdown list (or radio buttons) plus a row of static HTML (becuase apparently I must have a childobject within the form). But it still takes approx 60s. My question is... is this normal.. or is there soemthing wrong with my simple XML?
|
|
Through trial and error I discovered, when possible/practicable, replacing the dynamically populated lookup (where list items are generated from query results) with a static lookup (where list items are coded within the xml) is much quicker. In hind site this seems kind of obvious. Whether trying to populate a list of radio buttons or a drop-down list, it will take longer if splunk has to query an index vs simply pulling list items right out of the xml it is already reading. More info on how to replace a dynamically populated drop-down with a static drop-down here convert dynamic drop-down to static in advanced xml on Splunk Answers |
runs over all time. change it to
and I'll bet it runs much much faster... |