Hi,
I have tried many different ways to get a match with a like using a token to a string to set and unset a different set of tokens but I just cant seem to be able to meet the condition eventough I know I am selecting a click.value (which gets saved into a token) and that token value contains the string that I am using in the like command.
What am I doing wrong? please help.
<chart> <search> <query>index=car | dedup run_id | top limit=100 sourcetype | search sourcetype=$form.car_type$</query> <earliest>$field1.earliest$</earliest> <latest>$field1.latest$</latest> </search> <option name="charting.chart">column</option> <drilldown> <condition> <set token="show_panel">true</set> <set token="form.car_type">$click.value$</set> <set token="clickedfixture">$click.value$</set> </condition> <condition match="like($form.car_type$,"%ford%")"> <set token="carford">true</set> <unset token="data_entry"></unset> <unset token="attachment"></unset> </condition> </drilldown> </chart>
... View more