<?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: TIME_FORMAT in Epoch in Splunk Search</title>
    <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160605#M45416</link>
    <description>&lt;P&gt;The magic works. Thank you.&lt;/P&gt;</description>
    <pubDate>Mon, 12 May 2014 16:23:06 GMT</pubDate>
    <dc:creator>shangshin</dc:creator>
    <dc:date>2014-05-12T16:23:06Z</dc:date>
    <item>
      <title>TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160602#M45413</link>
      <description>&lt;P&gt;Hi,&lt;BR /&gt;
  My log event is in xml and the timestamp is in epoch format e.g. &lt;CODE&gt;&amp;lt;timestamp&amp;gt;1399909145002&amp;lt;/timestamp&amp;gt;&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;How can I define this in props.conf so the event timestamp will be correctly indexed in splunk?&lt;/P&gt;

&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 15:55:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160602#M45413</guid>
      <dc:creator>shangshin</dc:creator>
      <dc:date>2014-05-12T15:55:38Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160603#M45414</link>
      <description>&lt;PRE&gt;&lt;CODE&gt;TIME_PREFIX = \&amp;lt;timestamp\&amp;gt;
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 May 2014 16:15:44 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160603#M45414</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-05-12T16:15:44Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160604#M45415</link>
      <description>&lt;P&gt;If you showed me an entire XML event then I could help you with your event line breaking too.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 16:16:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160604#M45415</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-05-12T16:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160605#M45416</link>
      <description>&lt;P&gt;The magic works. Thank you.&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 16:23:06 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160605#M45416</guid>
      <dc:creator>shangshin</dc:creator>
      <dc:date>2014-05-12T16:23:06Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160606#M45417</link>
      <description>&lt;P&gt;Excellent!  Thanks for the upvote!&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 16:24:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160606#M45417</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-05-12T16:24:00Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160607#M45418</link>
      <description>&lt;P&gt;Well, you have a slight complication there.  What you have there isn't truly epoch (number of seconds since 1/1/1970 00:00:00 GMT).   What you have is the number of milliseconds.  &lt;/P&gt;

&lt;P&gt;But it appears this will work --&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[test2] 
TIME_PREFIX=&amp;lt;timestamp&amp;gt; 
TIME_FORMAT=%s%3N 
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Mon, 12 May 2014 16:24:31 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160607#M45418</guid>
      <dc:creator>dwaddle</dc:creator>
      <dc:date>2014-05-12T16:24:31Z</dc:date>
    </item>
    <item>
      <title>Re: TIME_FORMAT in Epoch</title>
      <link>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160608#M45419</link>
      <description>&lt;P&gt;Good point!&lt;/P&gt;</description>
      <pubDate>Mon, 12 May 2014 16:45:18 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Splunk-Search/TIME-FORMAT-in-Epoch/m-p/160608#M45419</guid>
      <dc:creator>dmaislin_splunk</dc:creator>
      <dc:date>2014-05-12T16:45:18Z</dc:date>
    </item>
  </channel>
</rss>

