<?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 get oldest event per host from metadata in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192609#M38398</link>
    <description>&lt;P&gt;Hi a212830,&lt;/P&gt;

&lt;P&gt;from the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Metadata"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Metadata&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firstTime is the timestamp for the first time that the indexer saw an event from this host.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does this not do the job for you? For me it works:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/137i38240B663A172E68/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Mon, 03 Nov 2014 06:44:14 GMT</pubDate>
    <dc:creator>MuS</dc:creator>
    <dc:date>2014-11-03T06:44:14Z</dc:date>
    <item>
      <title>How can I get oldest event per host from metadata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192608#M38397</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;

&lt;P&gt;Is there a way to get the oldest event dates for certain hosts using metadata?   &lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 02:28:10 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192608#M38397</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-11-03T02:28:10Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get oldest event per host from metadata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192609#M38398</link>
      <description>&lt;P&gt;Hi a212830,&lt;/P&gt;

&lt;P&gt;from the docs &lt;A href="http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Metadata"&gt;http://docs.splunk.com/Documentation/Splunk/6.2.0/SearchReference/Metadata&lt;/A&gt;&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;firstTime is the timestamp for the first time that the indexer saw an event from this host.
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Does this not do the job for you? For me it works:&lt;/P&gt;

&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="alt text"&gt;&lt;img src="https://community.splunk.com/t5/image/serverpage/image-id/137i38240B663A172E68/image-size/large?v=v2&amp;amp;px=999" role="button" title="alt text" alt="alt text" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 03 Nov 2014 06:44:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192609#M38398</guid>
      <dc:creator>MuS</dc:creator>
      <dc:date>2014-11-03T06:44:14Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get oldest event per host from metadata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192610#M38399</link>
      <description>&lt;P&gt;Sorry - actually needs to include host, index and sourcetype.  I get a lot of data for these hosts, so using metadata would be a hug help. We are concerned that data is dropping. &lt;/P&gt;</description>
      <pubDate>Tue, 04 Nov 2014 20:37:48 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192610#M38399</guid>
      <dc:creator>a212830</dc:creator>
      <dc:date>2014-11-04T20:37:48Z</dc:date>
    </item>
    <item>
      <title>Re: How can I get oldest event per host from metadata</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192611#M38400</link>
      <description>&lt;P&gt;The metadata command doesn't provide you mapping of index/sourcetype and host at once. Try following (will take more time but may be the only option)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metasearch index=* sourcetype=* host=* | stats min(_time) as firstTime by index sourcetype host
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 04 Nov 2014 21:37:24 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-I-get-oldest-event-per-host-from-metadata/m-p/192611#M38400</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2014-11-04T21:37:24Z</dc:date>
    </item>
  </channel>
</rss>

