<?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 How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ. in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306112#M57737</link>
    <description>&lt;P&gt;I am fetching message queue message  from JMS app in Splunk Enterprise 6.4.1. All the fields of the event are being extracted at indextime. I want to override the eventtime(_time) with the value present in the message(header timestamp). Please suggest how can this be achieved?&lt;/P&gt;</description>
    <pubDate>Fri, 23 Feb 2018 07:38:28 GMT</pubDate>
    <dc:creator>jincy_18</dc:creator>
    <dc:date>2018-02-23T07:38:28Z</dc:date>
    <item>
      <title>How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306112#M57737</link>
      <description>&lt;P&gt;I am fetching message queue message  from JMS app in Splunk Enterprise 6.4.1. All the fields of the event are being extracted at indextime. I want to override the eventtime(_time) with the value present in the message(header timestamp). Please suggest how can this be achieved?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 07:38:28 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306112#M57737</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2018-02-23T07:38:28Z</dc:date>
    </item>
    <item>
      <title>Re: How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306113#M57738</link>
      <description>&lt;P&gt;@jincy_18, so you can configure custom timestamp in the existing props.conf of JMS MQ app. Most of the parsing phase is done at indexer / HF and since timestamp recognition is at parsing phase, try setting your props in indexer/heavy forwarder&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationparametersandthedatapipeline"&gt;http://docs.splunk.com/Documentation/Splunk/latest/Admin/Configurationparametersandthedatapipeline&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;&lt;A href="http://docs.splunk.com/Documentation/Splunk/lastest/Data/Configuretimestamprecognition"&gt;http://docs.splunk.com/Documentation/Splunk/lastest/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;

&lt;P&gt;let me know if this helps!&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 08:33:08 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306113#M57738</guid>
      <dc:creator>mayurr98</dc:creator>
      <dc:date>2018-02-23T08:33:08Z</dc:date>
    </item>
    <item>
      <title>Re: How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306114#M57739</link>
      <description>&lt;P&gt;You need to set props.conf like:&lt;BR /&gt;
1.TIME_PREFIX = &lt;CODE&gt;&amp;lt;regular expression&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
2.TIME_FORMAT = &lt;CODE&gt;&amp;lt;in terms of %m/%d/%Y&amp;gt;&lt;/CODE&gt;&lt;BR /&gt;
 TIME_PREFIX is When set, Splunk software uses the specified regular expression to looks for a match before attempting to extract a timestamp.&lt;BR /&gt;
for ex . props.conf should look like &lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[&amp;lt;sourcetype&amp;gt;]
TIME_PREFIX = &amp;lt;regular expression&amp;gt;
TIME_FORMAT = %m/%d/%y
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;If you could share some sample events so that &lt;CODE&gt;regular expression&lt;/CODE&gt; and  &lt;CODE&gt;TIME_FORMAT&lt;/CODE&gt;  can be build as per.&lt;BR /&gt;
reference: &lt;A href="http://docs.splunk.com/Documentation/Splunk/7.0.2/Data/Configuretimestamprecognition" target="_blank"&gt;http://docs.splunk.com/Documentation/Splunk/7.0.2/Data/Configuretimestamprecognition&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 18:10:19 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306114#M57739</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2020-09-29T18:10:19Z</dc:date>
    </item>
    <item>
      <title>Re: How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306115#M57740</link>
      <description>&lt;P&gt;Thanks Rajesh,&lt;/P&gt;

&lt;P&gt;Just to add on in our case the timestamp value will be an epoch value, will this pose an issue?&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:02:47 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306115#M57740</guid>
      <dc:creator>jincy_18</dc:creator>
      <dc:date>2018-02-23T10:02:47Z</dc:date>
    </item>
    <item>
      <title>Re: How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306116#M57741</link>
      <description>&lt;P&gt;Ok jincy ...so you can add below for epoch&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIME_FORMAT=%s
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:12:40 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306116#M57741</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-23T10:12:40Z</dc:date>
    </item>
    <item>
      <title>Re: How can we override Splunk's eventtime with timestamp value present in the event data coming from JMS MQ.</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306117#M57742</link>
      <description>&lt;P&gt;&lt;CODE&gt;%s&lt;/CODE&gt; for 10 digits&lt;/P&gt;</description>
      <pubDate>Fri, 23 Feb 2018 10:14:54 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-can-we-override-Splunk-s-eventtime-with-timestamp-value/m-p/306117#M57742</guid>
      <dc:creator>493669</dc:creator>
      <dc:date>2018-02-23T10:14:54Z</dc:date>
    </item>
  </channel>
</rss>

