I want to populate a dropdown search with the following results:
index=myapp | top tgtHostname | fields tgtHostname
So the dropdown will only have the top 10 fields designatd as tgtHostname
here is my code.
<populatingSearch fieldForValue="tgtHostname" fieldForLabel="tgtHostname">| metadata type=tgtHostname index=myapp</populatingSearch>
Why does that not work? The drop down is visually there but it does not contain the list generated by the query.
Thanks.
You need two searches.
The second actually populates the selection box.
You need two searches.
The second actually populates the selection box.
got thanks....
I think I have that. The query itself is not giving me the desired results.
Perhaps the better question would be, how to take this query
index=myapp | top tgtHostname | fields tgtHostname
ans place it in the populatingSearch tag?
Thank you.