<?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 Does host in one sourcetype gets updated or not? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453817#M78592</link>
    <description>&lt;P&gt;Does any body have search_query related sourcetype update that show:&lt;BR /&gt;
- how many host in one sourcetype (increase/decrease host)?&lt;BR /&gt;
- which host not update on time? Thanks&lt;/P&gt;</description>
    <pubDate>Tue, 11 Sep 2018 06:55:10 GMT</pubDate>
    <dc:creator>SoknySplunk</dc:creator>
    <dc:date>2018-09-11T06:55:10Z</dc:date>
    <item>
      <title>Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453817#M78592</link>
      <description>&lt;P&gt;Does any body have search_query related sourcetype update that show:&lt;BR /&gt;
- how many host in one sourcetype (increase/decrease host)?&lt;BR /&gt;
- which host not update on time? Thanks&lt;/P&gt;</description>
      <pubDate>Tue, 11 Sep 2018 06:55:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453817#M78592</guid>
      <dc:creator>SoknySplunk</dc:creator>
      <dc:date>2018-09-11T06:55:10Z</dc:date>
    </item>
    <item>
      <title>Re: Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453818#M78593</link>
      <description>&lt;P&gt;@SoknySplunk,&lt;/P&gt;

&lt;P&gt;Try this and lets know if it works for you&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;|tstats dc(host) as count  where (index=_* OR index=*) by host,sourcetype,_time
|eventstats latest(_time) as last_seen by host,sourcetype
|bucket span=1d _time|stats dc(host) as count,latest(last_seen) as last_seen by sourcetype,host,_time
|eval delay(secs)=now()-last_seen
|eventstats sum(count) as number_of_host by sourcetype
|table _time,sourcetype,host,number_of_host,delay(secs)|sort sourcetype
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 11 Sep 2018 09:15:29 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453818#M78593</guid>
      <dc:creator>renjith_nair</dc:creator>
      <dc:date>2018-09-11T09:15:29Z</dc:date>
    </item>
    <item>
      <title>Re: Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453819#M78594</link>
      <description>&lt;P&gt;hi @soknysplunk,&lt;/P&gt;

&lt;P&gt;Did the answer below solve your problem? If so, please resolve this post by approving it! &lt;/P&gt;

&lt;P&gt;If your problem is still not solved, keep us updated so that someone else can help ya.&lt;/P&gt;

&lt;P&gt;Thanks for posting!&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 00:19:16 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453819#M78594</guid>
      <dc:creator>mstjohn_splunk</dc:creator>
      <dc:date>2018-09-12T00:19:16Z</dc:date>
    </item>
    <item>
      <title>Re: Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453820#M78595</link>
      <description>&lt;P&gt;Thank you, it's a great example. &lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 00:38:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453820#M78595</guid>
      <dc:creator>SoknySplunk</dc:creator>
      <dc:date>2018-09-12T00:38:06Z</dc:date>
    </item>
    <item>
      <title>Re: Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453821#M78596</link>
      <description>&lt;P&gt;By the way, could we use metadata to pull both host and source and last date?&lt;/P&gt;</description>
      <pubDate>Wed, 12 Sep 2018 01:36:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453821#M78596</guid>
      <dc:creator>SoknySplunk</dc:creator>
      <dc:date>2018-09-12T01:36:08Z</dc:date>
    </item>
    <item>
      <title>Re: Does host in one sourcetype gets updated or not?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453822#M78597</link>
      <description>&lt;P&gt;Great query, Renjit..  upvoted! &lt;/P&gt;</description>
      <pubDate>Fri, 02 Nov 2018 09:55:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Does-host-in-one-sourcetype-gets-updated-or-not/m-p/453822#M78597</guid>
      <dc:creator>inventsekar</dc:creator>
      <dc:date>2018-11-02T09:55:34Z</dc:date>
    </item>
  </channel>
</rss>

