<?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: Were to use where and when to use OR when to use AND in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552613#M156872</link>
    <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233122"&gt;@MeMilo09&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you,see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sat, 22 May 2021 15:23:25 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2021-05-22T15:23:25Z</dc:date>
    <item>
      <title>Were to use where and when to use OR when to use AND</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552603#M156867</link>
      <description>&lt;P&gt;Hi Guys,&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am novice somewhat, and confusion has struck.&lt;BR /&gt;&lt;BR /&gt;Where does the | where clause go in the query? Is it before stats typically or after, end of query?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Also, AND -- I understand to use this when I want for example both burger and fries -- so like I want my results to show me both burger and fries so I would query - (burger AND fries)&amp;nbsp; ---- or is this OR instead of and? When would I use OR instead ?&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;Would like just some brief examples. Thanks in advance&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 01:21:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552603#M156867</guid>
      <dc:creator>MeMilo09</dc:creator>
      <dc:date>2021-05-22T01:21:39Z</dc:date>
    </item>
    <item>
      <title>Re: Were to use where and when to use OR when to use AND</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552612#M156871</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233122"&gt;@MeMilo09&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;about the where command, you can find all the information at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Where" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/latest/SearchReference/Where&lt;/A&gt;&lt;/P&gt;&lt;P&gt;In few words, it's usually used when you have to check the result (true or false) of an eval condition (e.g. | where value&amp;gt;100).&lt;/P&gt;&lt;P&gt;About the boolean operators, you can find more information at&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/SearchReference/UnderstandingSPLsyntax#Boolean_operators" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.0/SearchReference/UnderstandingSPLsyntax#Boolean_operators&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in few words: OR must be always used, instead AND isn't mandatory in a search, but it's mandatory in the conditions (e.g. in eval command).&lt;/P&gt;&lt;P&gt;Put attention to the difference between NOT and !=&amp;nbsp;&lt;A href="https://docs.splunk.com/Documentation/Splunk/8.2.0/Search/NOTexpressions" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/8.2.0/Search/NOTexpressions&lt;/A&gt;&lt;/P&gt;&lt;P&gt;Ciao.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 13:18:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552612#M156871</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-22T13:18:07Z</dc:date>
    </item>
    <item>
      <title>Re: Were to use where and when to use OR when to use AND</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552613#M156872</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/233122"&gt;@MeMilo09&lt;/a&gt;,&lt;/P&gt;&lt;P&gt;good for you,see next time!&lt;/P&gt;&lt;P&gt;Ciao and happy splunking.&lt;/P&gt;&lt;P&gt;Giuseppe&lt;/P&gt;&lt;P&gt;P.S.: Karma Points are appreciated &lt;span class="lia-unicode-emoji" title=":winking_face:"&gt;😉&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 22 May 2021 15:23:25 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Were-to-use-where-and-when-to-use-OR-when-to-use-AND/m-p/552613#M156872</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2021-05-22T15:23:25Z</dc:date>
    </item>
  </channel>
</rss>

