<?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 Help with Boolean query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Help-with-Boolean-query/m-p/557636#M158368</link>
    <description>&lt;P&gt;Below is an example of what I want to accomplish:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If x="example" and y="success", return true for this segment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If x="example2" and y="success", return true for this segment.&lt;/P&gt;&lt;P&gt;If x="example3" and y="success", return true for this segment.&lt;/P&gt;&lt;P&gt;If all are three statements = true, return true. If not all three = true, return false.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 29 Jun 2021 16:07:32 GMT</pubDate>
    <dc:creator>TheBravoSierra</dc:creator>
    <dc:date>2021-06-29T16:07:32Z</dc:date>
    <item>
      <title>Help with Boolean query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-Boolean-query/m-p/557636#M158368</link>
      <description>&lt;P&gt;Below is an example of what I want to accomplish:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If x="example" and y="success", return true for this segment.&amp;nbsp;&lt;/P&gt;&lt;P&gt;If x="example2" and y="success", return true for this segment.&lt;/P&gt;&lt;P&gt;If x="example3" and y="success", return true for this segment.&lt;/P&gt;&lt;P&gt;If all are three statements = true, return true. If not all three = true, return false.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 16:07:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-Boolean-query/m-p/557636#M158368</guid>
      <dc:creator>TheBravoSierra</dc:creator>
      <dc:date>2021-06-29T16:07:32Z</dc:date>
    </item>
    <item>
      <title>Re: Help with Boolean query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Help-with-Boolean-query/m-p/557637#M158369</link>
      <description>&lt;P&gt;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/230424"&gt;@TheBravoSierra&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Are you looking for this?&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;YOUR_SEARCH  | eval flag=if((x="example" OR x="example2" OR x="example3") and y="success", "true", "false")&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;My Sample Search :&lt;/STRONG&gt;&lt;/P&gt;&lt;LI-CODE lang="markup"&gt;| makeresults | eval x="example",y="success" |append [| makeresults | eval x="example2",y="failed" ]  | eval flag=if((x="example" OR x="example2" OR x="example3") and y="success", "true", "false")&lt;/LI-CODE&gt;&lt;P&gt;&lt;BR /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Jun 2021 16:16:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Help-with-Boolean-query/m-p/557637#M158369</guid>
      <dc:creator>kamlesh_vaghela</dc:creator>
      <dc:date>2021-06-29T16:16:29Z</dc:date>
    </item>
  </channel>
</rss>

