<?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: Query for host not sending sourcetype in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-host-not-sending-sourcetype/m-p/45721#M8592</link>
    <description>&lt;P&gt;There's a query for virtually everything &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I'd go along this path: Compute a list of all your hosts and subtract the list of hosts sending the particular sourcetype... something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=* | fields host | search NOT [search index=* sourcetype=particular | fields host | dedup host]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note, replace index=* if you only want to search a specific set of indexes.&lt;/P&gt;</description>
    <pubDate>Fri, 24 May 2013 22:28:39 GMT</pubDate>
    <dc:creator>martin_mueller</dc:creator>
    <dc:date>2013-05-24T22:28:39Z</dc:date>
    <item>
      <title>Query for host not sending sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-host-not-sending-sourcetype/m-p/45720#M8591</link>
      <description>&lt;P&gt;I am trying to find out how to identify which host(s) are not sending a particular datasource.  Is there a query to identify this?&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2013 17:38:27 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Query-for-host-not-sending-sourcetype/m-p/45720#M8591</guid>
      <dc:creator>diegosainz</dc:creator>
      <dc:date>2013-05-24T17:38:27Z</dc:date>
    </item>
    <item>
      <title>Re: Query for host not sending sourcetype</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Query-for-host-not-sending-sourcetype/m-p/45721#M8592</link>
      <description>&lt;P&gt;There's a query for virtually everything &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/P&gt;

&lt;P&gt;I'd go along this path: Compute a list of all your hosts and subtract the list of hosts sending the particular sourcetype... something like this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=hosts index=* | fields host | search NOT [search index=* sourcetype=particular | fields host | dedup host]
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Note, replace index=* if you only want to search a specific set of indexes.&lt;/P&gt;</description>
      <pubDate>Fri, 24 May 2013 22:28:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Query-for-host-not-sending-sourcetype/m-p/45721#M8592</guid>
      <dc:creator>martin_mueller</dc:creator>
      <dc:date>2013-05-24T22:28:39Z</dc:date>
    </item>
  </channel>
</rss>

