<?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 to get the latest timestamp from a log file? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291849#M55626</link>
    <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;You can use this query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=*  | stats latest(_time) by source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Feb 2018 09:56:00 GMT</pubDate>
    <dc:creator>p_gurav</dc:creator>
    <dc:date>2018-02-20T09:56:00Z</dc:date>
    <item>
      <title>How to get the latest timestamp from a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291848#M55625</link>
      <description>&lt;P&gt;How to get the latest timestamp from a log file?I need the latest logs from different source and their timestamp.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:50:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291848#M55625</guid>
      <dc:creator>abhi04</dc:creator>
      <dc:date>2018-02-20T09:50:09Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the latest timestamp from a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291849#M55626</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;

&lt;P&gt;You can use this query:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;  index=*  | stats latest(_time) by source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:56:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291849#M55626</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-02-20T09:56:00Z</dc:date>
    </item>
    <item>
      <title>Re: How to get the latest timestamp from a log file?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291850#M55627</link>
      <description>&lt;P&gt;try this:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=indexname|stats latest(timestamp) by source
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Feb 2018 09:57:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-to-get-the-latest-timestamp-from-a-log-file/m-p/291850#M55627</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-20T09:57:38Z</dc:date>
    </item>
  </channel>
</rss>

