Quantcast
Channel: Questions in topic: "splunk-enterprise"
Viewing all articles
Browse latest Browse all 47296

Checkbox and dropdown

$
0
0
below is my dashboard code, when checkbox is selected i want splunkd* only to be shown in the dropdown else all. below code seems like is finding checkbox is selected and going to if section , but,sourcetype like "splunkd*" is always evaluating to true/false and also like doesnt seems to work ? any updates?index=_internal | eval field1= if(replace("$applyFilter$",".*(\d)","\1")="1",sourcetype like "splunkd*", ,sourcetype) --Sree
Apply Filter0'index=_internal | eval field1= if(replace("$applyFilter$",".*(\d)","\1")="1",sourcetype,sourcetype)field1field1

Viewing all articles
Browse latest Browse all 47296

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>