<?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 do I extract the time from Operating System events? in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333841#M99263</link>
    <description>&lt;P&gt;Yes, it was 128 to start.&lt;/P&gt;</description>
    <pubDate>Thu, 12 Apr 2018 13:27:59 GMT</pubDate>
    <dc:creator>scottrunyon</dc:creator>
    <dc:date>2018-04-12T13:27:59Z</dc:date>
    <item>
      <title>How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333839#M99261</link>
      <description>&lt;P&gt;I am trying to extract the time from event from the AV system.  The output is set up to be sent to Splunk over UDP every 15 minutes.  Splunk is setting _time as the download time, not the time of the event.  &lt;/P&gt;

&lt;P&gt;This is the format of the message -&lt;/P&gt;

&lt;P&gt;Apr 12 07:04:00 10.00.00.00 Apr 12 2018 07:04:00 system.corp.net CEF:0|AV System|Manager System|2.2|444444|Device Access Control|3|rt=Apr 12 2018 11:53:17 GMT+00:00 cs1Label=Product_Entity/Endpoint&lt;/P&gt;

&lt;P&gt;I have tried the following &lt;/P&gt;

&lt;P&gt;TIMESTAMP_FIELDS = rt&lt;BR /&gt;
TZ = America/Chicago&lt;BR /&gt;
TIME_FORMAT = %b %d %Y %H:%M:%S %Z%z&lt;BR /&gt;
TIME_PREFIX = rt=&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD = 160&lt;/P&gt;

&lt;P&gt;What am I missing?  &lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:01:22 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333839#M99261</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2020-09-29T19:01:22Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333840#M99262</link>
      <description>&lt;P&gt;Did you try increasing value for &lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD&lt;/CODE&gt; ?&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:18:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333840#M99262</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-12T13:18:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333841#M99263</link>
      <description>&lt;P&gt;Yes, it was 128 to start.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:27:59 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333841#M99263</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-12T13:27:59Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333842#M99264</link>
      <description>&lt;P&gt;Hi scottrunyon,&lt;BR /&gt;
modify TIME_PREFIX because = is a special char for regex&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = rt\=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;MAX_TIMESTAMP_LOOKAHEAD = 31
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;and I shouldn't use &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIMESTAMP_FIELDS = rt
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 13:45:57 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333842#M99264</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-04-12T13:45:57Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333843#M99265</link>
      <description>&lt;P&gt;That did not work.  The events are showing Time as the download time.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:16:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333843#M99265</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-12T14:16:08Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333844#M99266</link>
      <description>&lt;P&gt;Hi scottrunyon,&lt;BR /&gt;
do you receive these logs on Indexer or on Heavy Forwarder?&lt;BR /&gt;
where is this props.conf?&lt;BR /&gt;
It must be on the same server that receive logs.&lt;/P&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:23:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333844#M99266</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-04-12T14:23:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333845#M99267</link>
      <description>&lt;P&gt;Did you try :&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TZ = America/Chicago
TIME_FORMAT = %b %d %Y %H:%M:%S %Z%:z
TIME_PREFIX = \|rt\=
MAX_TIMESTAMP_LOOKAHEAD = 160
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:23:46 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333845#M99267</guid>
      <dc:creator>p_gurav</dc:creator>
      <dc:date>2018-04-12T14:23:46Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333846#M99268</link>
      <description>&lt;P&gt;It is received on the indexer.  I have a single instance and props.conf is under \search\local.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:27:14 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333846#M99268</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-12T14:27:14Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333847#M99269</link>
      <description>&lt;P&gt;if you have timezone GMT+00:00, you have to use %:z, try:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT = %b %d %Y %H:%M:%S %Z%:z
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;Bye.&lt;BR /&gt;
Giuseppe&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 14:37:09 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333847#M99269</guid>
      <dc:creator>gcusello</dc:creator>
      <dc:date>2018-04-12T14:37:09Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333848#M99270</link>
      <description>&lt;P&gt;That didn't work It looks like it is pulling the time from the first part of the event.  &lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:00:51 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333848#M99270</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-12T15:00:51Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333849#M99271</link>
      <description>&lt;P&gt;I am doing these changes through the "Source Type" web interface, which updates props.conf when saved.  Do I have to a restart of Splunk to get the changes to take?&lt;/P&gt;

&lt;P&gt;I am running on a Windows server.&lt;/P&gt;</description>
      <pubDate>Thu, 12 Apr 2018 15:57:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333849#M99271</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-12T15:57:18Z</dc:date>
    </item>
    <item>
      <title>Re: How do I extract the time from Operating System events?</title>
      <link>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333850#M99272</link>
      <description>&lt;P&gt;I did a restart this morning and the time is what I need it to be.&lt;/P&gt;

&lt;P&gt;Thanks for the help.&lt;/P&gt;

&lt;P&gt;Scott&lt;/P&gt;</description>
      <pubDate>Fri, 13 Apr 2018 13:09:43 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/How-do-I-extract-the-time-from-Operating-System-events/m-p/333850#M99272</guid>
      <dc:creator>scottrunyon</dc:creator>
      <dc:date>2018-04-13T13:09:43Z</dc:date>
    </item>
  </channel>
</rss>

