<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: How to Drilldown Conditional match with like function using a Token? in Dashboards &amp; Visualizations</title>
    <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591685#M48532</link>
    <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244425"&gt;@Manny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to share XML with sample data (NO original values) here ?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 31 Mar 2022 06:01:48 GMT</pubDate>
    <dc:creator>kamlesh_vaghela</dc:creator>
    <dc:date>2022-03-31T06:01:48Z</dc:date>
    <item>
      <title>How to Drilldown Conditional match with like function using a Token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591596#M48523</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;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.&lt;/P&gt;
&lt;P&gt;What am I doing wrong? please help.&lt;/P&gt;
&lt;P&gt;&amp;lt;chart&amp;gt;&lt;BR /&gt;&amp;lt;search&amp;gt;&lt;BR /&gt;&amp;lt;query&amp;gt;index=car | dedup run_id | top limit=100 sourcetype | search sourcetype=$form.car_type$&amp;lt;/query&amp;gt;&lt;BR /&gt;&amp;lt;earliest&amp;gt;$field1.earliest$&amp;lt;/earliest&amp;gt;&lt;BR /&gt;&amp;lt;latest&amp;gt;$field1.latest$&amp;lt;/latest&amp;gt;&lt;BR /&gt;&amp;lt;/search&amp;gt;&lt;BR /&gt;&amp;lt;option name="charting.chart"&amp;gt;column&amp;lt;/option&amp;gt;&lt;BR /&gt;&amp;lt;drilldown&amp;gt;&lt;BR /&gt;&amp;lt;condition&amp;gt;&lt;BR /&gt;&amp;lt;set token="show_panel"&amp;gt;true&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;set token="form.car_type"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;set token="clickedfixture"&amp;gt;$click.value$&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;lt;condition match="like($form.car_type$,&amp;amp;quot;%ford%&amp;amp;quot;)"&amp;gt;&lt;BR /&gt;&amp;lt;set token="carford"&amp;gt;true&amp;lt;/set&amp;gt;&lt;BR /&gt;&amp;lt;unset token="data_entry"&amp;gt;&amp;lt;/unset&amp;gt;&lt;BR /&gt;&amp;lt;unset token="attachment"&amp;gt;&amp;lt;/unset&amp;gt;&lt;BR /&gt;&amp;lt;/condition&amp;gt;&lt;BR /&gt;&amp;lt;/drilldown&amp;gt;&lt;BR /&gt;&amp;lt;/chart&amp;gt;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Mar 2022 17:43:50 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591596#M48523</guid>
      <dc:creator>Manny</dc:creator>
      <dc:date>2022-03-30T17:43:50Z</dc:date>
    </item>
    <item>
      <title>Re: How to Drilldown Conditional match with like function using a Token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591665#M48527</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244425"&gt;@Manny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Generally we kept default condition at last.&amp;nbsp;Can you please try this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;&amp;lt;condition match="like($form.car_type$,&amp;amp;quot;%ford%&amp;amp;quot;)"&amp;gt;
&amp;lt;set token="carford"&amp;gt;true&amp;lt;/set&amp;gt;
&amp;lt;unset token="data_entry"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;unset token="attachment"&amp;gt;&amp;lt;/unset&amp;gt;
&amp;lt;/condition&amp;gt;
&amp;lt;condition&amp;gt;
&amp;lt;set token="show_panel"&amp;gt;true&amp;lt;/set&amp;gt;
&amp;lt;set token="form.car_type"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
&amp;lt;set token="clickedfixture"&amp;gt;$click.value$&amp;lt;/set&amp;gt;
&amp;lt;/condition&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 05:16:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591665#M48527</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-03-31T05:16:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Drilldown Conditional match with like function using a Token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591673#M48528</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp;it did not work. I still dont get the $carford$ set.&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 05:32:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591673#M48528</guid>
      <dc:creator>Manny</dc:creator>
      <dc:date>2022-03-31T05:32:55Z</dc:date>
    </item>
    <item>
      <title>Re: How to Drilldown Conditional match with like function using a Token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591676#M48529</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/127939"&gt;@kamlesh_vaghela&lt;/a&gt;&amp;nbsp; note that $form.car_type$ has a value that changes depending on what the user clicks (a drilldown) but one of the columns that can be clicked is "car_type_ford" when that gets selected I would expect that the match with the like would be satified and therefore the $carford$ would be set.&lt;/P&gt;&lt;P&gt;I can see that $form.car_type$ does change to "car_type_ford" but the still the token&amp;nbsp;$carford$ does not get set.&lt;/P&gt;&lt;P&gt;thx&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 05:39:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591676#M48529</guid>
      <dc:creator>Manny</dc:creator>
      <dc:date>2022-03-31T05:39:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to Drilldown Conditional match with like function using a Token?</title>
      <link>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591685#M48532</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/244425"&gt;@Manny&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is it possible to share XML with sample data (NO original values) here ?&lt;/P&gt;&lt;P&gt;KV&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 31 Mar 2022 06:01:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Dashboards-Visualizations/How-to-Drilldown-Conditional-match-with-like-function-using-a/m-p/591685#M48532</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2022-03-31T06:01:48Z</dc:date>
    </item>
  </channel>
</rss>

