<?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: Convert Epoch using Props.conf in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-using-Props-conf/m-p/250406#M48187</link>
    <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;This sourcetype should have this configuration&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype ]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
TIME_FORMAT=%s
TIME_PREFIX=event_sec=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can do more formatting at search time later on.&lt;/P&gt;

&lt;P&gt;Please mark as answered if this is what you were looking for.&lt;/P&gt;

&lt;P&gt;j&lt;/P&gt;</description>
    <pubDate>Thu, 28 Jan 2016 14:42:49 GMT</pubDate>
    <dc:creator>jbjerke_splunk</dc:creator>
    <dc:date>2016-01-28T14:42:49Z</dc:date>
    <item>
      <title>Convert Epoch using Props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-using-Props-conf/m-p/250405#M48186</link>
      <description>&lt;P&gt;I have events that are coming in with no timestamp except for a field "event_sec" which gives me the time in epoch format.  Is there a way to use the props.conf to convert these all to the timestamp for the events?  An example of the first couple fields in the event are:&lt;/P&gt;

&lt;P&gt;rec_type=500 rec_type_simple="FILELOG EVENT" event_sec=1453991513&lt;/P&gt;

&lt;P&gt;Where as i would like to take the event_sec field and convert it to human readable date/time using the props.conf&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 08:34:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-using-Props-conf/m-p/250405#M48186</guid>
      <dc:creator>JScordo</dc:creator>
      <dc:date>2020-09-29T08:34:05Z</dc:date>
    </item>
    <item>
      <title>Re: Convert Epoch using Props.conf</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-using-Props-conf/m-p/250406#M48187</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;

&lt;P&gt;This sourcetype should have this configuration&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[mysourcetype ]
SHOULD_LINEMERGE=true
NO_BINARY_CHECK=true
TIME_FORMAT=%s
TIME_PREFIX=event_sec=
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;You can do more formatting at search time later on.&lt;/P&gt;

&lt;P&gt;Please mark as answered if this is what you were looking for.&lt;/P&gt;

&lt;P&gt;j&lt;/P&gt;</description>
      <pubDate>Thu, 28 Jan 2016 14:42:49 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Convert-Epoch-using-Props-conf/m-p/250406#M48187</guid>
      <dc:creator>jbjerke_splunk</dc:creator>
      <dc:date>2016-01-28T14:42:49Z</dc:date>
    </item>
  </channel>
</rss>

