<?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 double condition on filtering in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/double-condition-on-filtering/m-p/324822#M162677</link>
    <description>&lt;P&gt;So,it's my first question on the forum,&lt;BR /&gt;
I'm working on a dashoard already done (i'm making chages);the conditions,the filtering....&lt;BR /&gt;
And i have problem of double condition on filtering&lt;BR /&gt;
So,normaly we have a basic query&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4484i0FF73D6695A2465F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;And then we have the condition &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4485i0A734B73DB59F540/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;And the span&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;input type="radio" token="token_span" depends="$depends_token_1$"&amp;gt;
      &amp;lt;label&amp;gt;Choisir échelle&amp;lt;/label&amp;gt;
      &amp;lt;choice value="15m"&amp;gt;15 minuttes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="30m"&amp;gt;30 minuttes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1h"&amp;gt;1 heure&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1d"&amp;gt;Toute la journée&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;1d&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So to load the query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;query&amp;gt;
          | stats count(eval((MESSAGE="Click open chat"))) AS Nombre_de_Click_Open_Tchat

                 &amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This method is already done by someone and i can't change it.&lt;BR /&gt;
Now i want to add other candition (when the label is "Hier" and the span token is "15 minuttes" ,i execute my query.&lt;BR /&gt;
To do this i already try this method but it's doesn't work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;condition match="label_token=Hier AND token_span=30 minuttes"&amp;gt; 
              &amp;lt;set token="earliest_token"&amp;gt;$value$&amp;lt;/set&amp;gt;
              &amp;lt;set token="show_Data_Labels_token"&amp;gt;none&amp;lt;/set&amp;gt;
              &amp;lt;set token="loadjob_token_analyse_fine"&amp;gt;Analyse_fine_du_Tchat_Hier&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And to load the query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;query&amp;gt;
                | loadjob savedsearch="a468413:ied:$loadjob_token_analyse_fine$"
                | search $chatOrigin_token$ $media_token$

                     &amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope that someone can help me ,thank you&lt;/P&gt;</description>
    <pubDate>Wed, 28 Feb 2018 10:22:59 GMT</pubDate>
    <dc:creator>taha13</dc:creator>
    <dc:date>2018-02-28T10:22:59Z</dc:date>
    <item>
      <title>double condition on filtering</title>
      <link>https://community.splunk.com/t5/Splunk-Search/double-condition-on-filtering/m-p/324822#M162677</link>
      <description>&lt;P&gt;So,it's my first question on the forum,&lt;BR /&gt;
I'm working on a dashoard already done (i'm making chages);the conditions,the filtering....&lt;BR /&gt;
And i have problem of double condition on filtering&lt;BR /&gt;
So,normaly we have a basic query&lt;BR /&gt;
&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4484i0FF73D6695A2465F/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;And then we have the condition &lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/4485i0A734B73DB59F540/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;And the span&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;input type="radio" token="token_span" depends="$depends_token_1$"&amp;gt;
      &amp;lt;label&amp;gt;Choisir échelle&amp;lt;/label&amp;gt;
      &amp;lt;choice value="15m"&amp;gt;15 minuttes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="30m"&amp;gt;30 minuttes&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1h"&amp;gt;1 heure&amp;lt;/choice&amp;gt;
      &amp;lt;choice value="1d"&amp;gt;Toute la journée&amp;lt;/choice&amp;gt;
      &amp;lt;default&amp;gt;1d&amp;lt;/default&amp;gt;
    &amp;lt;/input&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;So to load the query&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;      &amp;lt;query&amp;gt;
          | stats count(eval((MESSAGE="Click open chat"))) AS Nombre_de_Click_Open_Tchat

                 &amp;lt;/query&amp;gt;
    &amp;lt;/search&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;This method is already done by someone and i can't change it.&lt;BR /&gt;
Now i want to add other candition (when the label is "Hier" and the span token is "15 minuttes" ,i execute my query.&lt;BR /&gt;
To do this i already try this method but it's doesn't work&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;&amp;lt;condition match="label_token=Hier AND token_span=30 minuttes"&amp;gt; 
              &amp;lt;set token="earliest_token"&amp;gt;$value$&amp;lt;/set&amp;gt;
              &amp;lt;set token="show_Data_Labels_token"&amp;gt;none&amp;lt;/set&amp;gt;
              &amp;lt;set token="loadjob_token_analyse_fine"&amp;gt;Analyse_fine_du_Tchat_Hier&amp;lt;/set&amp;gt;
            &amp;lt;/condition&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;And to load the query &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; &amp;lt;query&amp;gt;
                | loadjob savedsearch="a468413:ied:$loadjob_token_analyse_fine$"
                | search $chatOrigin_token$ $media_token$

                     &amp;lt;/query&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I hope that someone can help me ,thank you&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2018 10:22:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/double-condition-on-filtering/m-p/324822#M162677</guid>
      <dc:creator>taha13</dc:creator>
      <dc:date>2018-02-28T10:22:59Z</dc:date>
    </item>
  </channel>
</rss>

