<?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: I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up? in Splunk Enterprise Security</title>
    <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319925#M2945</link>
    <description>&lt;P&gt;Do you need the actual event itself, or just the timestamp of the oldest event?&lt;/P&gt;

&lt;P&gt;For the latter, a &lt;CODE&gt;| metadata&lt;/CODE&gt; search would be most efficient I guess. So something along the lines of:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources index=os source=/var/log/secure 
| table firstTime,source 
| convert ctime(firstTime)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
    <pubDate>Wed, 11 Apr 2018 07:39:30 GMT</pubDate>
    <dc:creator>FrankVl</dc:creator>
    <dc:date>2018-04-11T07:39:30Z</dc:date>
    <item>
      <title>I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319922#M2942</link>
      <description>&lt;P&gt;All, &lt;/P&gt;

&lt;P&gt;I need to make a dashboard providing evidence of compliance for our auditors. I was going to use the tail command but it's VERY slow even with the fact I only have a few hundred megs of data right now. Any tricks here to speed this up? &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;index=os source=/var/log/secure | table _raw | tail  1
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Apr 2018 23:22:45 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319922#M2942</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2018-04-10T23:22:45Z</dc:date>
    </item>
    <item>
      <title>Re: I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319923#M2943</link>
      <description>&lt;P&gt;start by &lt;CODE&gt;tail&lt;/CODE&gt;ing before &lt;CODE&gt;table&lt;/CODE&gt;ing&lt;BR /&gt;
you are passing all the events in the world through the table command only to look for the last one&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt; index=os source=/var/log/secure 
    | tail  1
    | table _raw
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Tue, 10 Apr 2018 23:25:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319923#M2943</guid>
      <dc:creator>adonio</dc:creator>
      <dc:date>2018-04-10T23:25:43Z</dc:date>
    </item>
    <item>
      <title>Re: I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319924#M2944</link>
      <description>&lt;PRE&gt;&lt;CODE&gt; index=os source=/var/log/secure  | stats earliest(_raw) as _raw
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 03:54:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319924#M2944</guid>
      <dc:creator>masonmorales</dc:creator>
      <dc:date>2018-04-11T03:54:00Z</dc:date>
    </item>
    <item>
      <title>Re: I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319925#M2945</link>
      <description>&lt;P&gt;Do you need the actual event itself, or just the timestamp of the oldest event?&lt;/P&gt;

&lt;P&gt;For the latter, a &lt;CODE&gt;| metadata&lt;/CODE&gt; search would be most efficient I guess. So something along the lines of:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;| metadata type=sources index=os source=/var/log/secure 
| table firstTime,source 
| convert ctime(firstTime)
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 11 Apr 2018 07:39:30 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319925#M2945</guid>
      <dc:creator>FrankVl</dc:creator>
      <dc:date>2018-04-11T07:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: I need to get the very oldest log event displayed on a dashboard , any tricks to speeding this up?</title>
      <link>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319926#M2946</link>
      <description>&lt;P&gt;I actually need the entire event actually. But good call on the metadata command. Cool stuff. &lt;/P&gt;</description>
      <pubDate>Wed, 11 Apr 2018 22:35:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Enterprise-Security/I-need-to-get-the-very-oldest-log-event-displayed-on-a-dashboard/m-p/319926#M2946</guid>
      <dc:creator>daniel333</dc:creator>
      <dc:date>2018-04-11T22:35:03Z</dc:date>
    </item>
  </channel>
</rss>

