Dashboards & Visualizations

Passing token from a multiselect to populate a dropdown

<fieldset submitButton="true">
<input type="multiselect" token="multiselect_token" searchWhenChanged="false">
<query>index=apigee sourcetype=apigee_metrics | dedup headers.apiproxy | table headers.apiproxy</query>
<delimiter> OR </delimiter>
<input type="time" token="field2" searchWhenChanged="false">
<input type="dropdown" token="field3" searchWhenChanged="false">
<label>Operation Path</label>
<query>index=apigee sourcetype=apigee_metrics $multiselect_token$ | stats count by apiStats.operation_path | dedup apiStats.operation_path | table apiStats.operation_path</query>
0 Karma


@irvindominguezs for the community to assist you better please provide relevant details as well. With your current code what is the issue you are facing?

For the dropdown search SPL, what is the exact filter that should be passed as token? Add some sample data and example of the use by anonymizing any sensitive information.

As per the code, if Multiselect has 3 proxy values selected proxy1, proxy2 and proxy3, then the dropdown SPL will have value like the following in the SPL headers.apiproxy="proxy1" OR headers.apiproxy="proxy2" OR headers.apiproxy="proxy3". What is the expected value, if not this?

index=apigee sourcetype=apigee_metrics headers.apiproxy="proxy1" OR headers.apiproxy="proxy2" OR headers.apiproxy="proxy3"


| makeresults | eval message= "Happy Splunking!!!"
0 Karma
Register for .conf21 Now! Go Vegas or Go Virtual!

How will you .conf21? You decide! Go in-person in Las Vegas, 10/18-10/21, or go online with .conf21 Virtual, 10/19-10/20.