<?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: Boolean Query in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251602#M175871</link>
    <description>&lt;P&gt;Hi aoliullah,&lt;BR /&gt;
try with&lt;BR /&gt;
sourcetype="vendor_sales" (VendorCountry="United States" OR VendorCountry="Canada")&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
    <pubDate>Tue, 24 Jan 2017 14:50:26 GMT</pubDate>
    <dc:creator>gcusello</dc:creator>
    <dc:date>2017-01-24T14:50:26Z</dc:date>
    <item>
      <title>Boolean Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251601#M175870</link>
      <description>&lt;P&gt;Hi. The following query doesn't seem to work for me. &lt;/P&gt;

&lt;P&gt;sourcetype="vendor_sales" VendorCountry=("United States" AND "Canada")&lt;/P&gt;

&lt;P&gt;I want it to return sales events for both US and Canada.&lt;/P&gt;

&lt;P&gt;Could you help?&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:47:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251601#M175870</guid>
      <dc:creator>aoliullah</dc:creator>
      <dc:date>2017-01-24T14:47:43Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251602#M175871</link>
      <description>&lt;P&gt;Hi aoliullah,&lt;BR /&gt;
try with&lt;BR /&gt;
sourcetype="vendor_sales" (VendorCountry="United States" OR VendorCountry="Canada")&lt;BR /&gt;
Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Tue, 24 Jan 2017 14:50:26 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251602#M175871</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2017-01-24T14:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Boolean Query</title>
      <link>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251603#M175872</link>
      <description>&lt;P&gt;Like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="vendor_sales" VendorCountry="United States" AND VendorCountry="Canada"
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;But this will only show those vendors who sold both in "United States" and "Canada" in a single event (where &lt;CODE&gt;VendorCountry&lt;/CODE&gt; is a multivalued field).  But this is probably not your desire.  You are probably trying to do this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;sourcetype="vendor_sales" VendorCountry="United States" OR VendorCountry="Canada"
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 24 Jan 2017 15:14:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/Boolean-Query/m-p/251603#M175872</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2017-01-24T15:14:14Z</dc:date>
    </item>
  </channel>
</rss>

