<?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 can I search for the field host with multiple values? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400711#M71357</link>
    <description>&lt;P&gt;Can you share a sample (sanitized) event, please?&lt;/P&gt;</description>
    <pubDate>Wed, 26 Sep 2018 15:48:20 GMT</pubDate>
    <dc:creator>richgalloway</dc:creator>
    <dc:date>2018-09-26T15:48:20Z</dc:date>
    <item>
      <title>How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400710#M71356</link>
      <description>&lt;P&gt;We ended up with an operation index that has two hosts per event, let's say &lt;CODE&gt;aaa&lt;/CODE&gt; and &lt;CODE&gt;bbb&lt;/CODE&gt;.&lt;BR /&gt;
Searching for &lt;CODE&gt;index=shortland host=aaa&lt;/CODE&gt; brings results but &lt;CODE&gt;index=shortland host=bbb&lt;/CODE&gt; does not.&lt;/P&gt;

&lt;P&gt;What can it be?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:19:15 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400710#M71356</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-26T15:19:15Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400711#M71357</link>
      <description>&lt;P&gt;Can you share a sample (sanitized) event, please?&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 15:48:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400711#M71357</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2018-09-26T15:48:20Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400712#M71358</link>
      <description>&lt;P&gt;Hi @ddrillic &lt;/P&gt;

&lt;P&gt;H can achieve with &lt;STRONG&gt;OR&lt;/STRONG&gt; ,&lt;STRONG&gt;IN&lt;/STRONG&gt;&lt;BR /&gt;
EG:- &lt;CODE&gt;host=aaa or host=bbb&lt;/CODE&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;host in ("aaa","bbb")
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If my answer helped please accept answer or up vote&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 16:40:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400712#M71358</guid>
      <dc:creator>harishalipaka</dc:creator>
      <dc:date>2018-09-26T16:40:59Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400713#M71359</link>
      <description>&lt;P&gt;No worries - speaking with the sales engineer who explained that one &lt;CODE&gt;host&lt;/CODE&gt; value was indexed at index time and another one was &lt;EM&gt;discovered&lt;/EM&gt;  at search time. Apparently, only the index time value is searchable when searching against the &lt;CODE&gt;host&lt;/CODE&gt; field. &lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 17:01:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400713#M71359</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-26T17:01:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400714#M71360</link>
      <description>&lt;P&gt;Thank you @harishalipaka.&lt;/P&gt;</description>
      <pubDate>Wed, 26 Sep 2018 17:01:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400714#M71360</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2018-09-26T17:01:32Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400715#M71361</link>
      <description>&lt;P&gt;For the record, a similar case at &lt;A href="https://answers.splunk.com/answers/737894/how-to-handle-search-query-when-json-data-has-host.html?minQuestionBodyLength=80"&gt;How to handle search query when json data has host field?&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Sat, 06 Apr 2019 21:47:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400715#M71361</guid>
      <dc:creator>ddrillic</dc:creator>
      <dc:date>2019-04-06T21:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: How can I search for the field host with multiple values?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400716#M71362</link>
      <description>&lt;P&gt;If that search does not work, then your &lt;CODE&gt;host&lt;/CODE&gt; field does really have both values.  We will never get to the bottom of this unless you post an event. and your props.conf settings.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Apr 2019 01:49:32 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-search-for-the-field-host-with-multiple-values/m-p/400716#M71362</guid>
      <dc:creator>woodcock</dc:creator>
      <dc:date>2019-04-07T01:49:32Z</dc:date>
    </item>
  </channel>
</rss>

