<?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: Handling events with the same timestamp in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209598#M41272</link>
    <description>&lt;P&gt;Thank You.&lt;/P&gt;

&lt;P&gt;I did not get a chance to try it out yet. I will update the thread once I get a chance to test it.&lt;/P&gt;</description>
    <pubDate>Thu, 29 Dec 2016 13:02:00 GMT</pubDate>
    <dc:creator>Staging_2</dc:creator>
    <dc:date>2016-12-29T13:02:00Z</dc:date>
    <item>
      <title>Handling events with the same timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209596#M41270</link>
      <description>&lt;P&gt;I am extracting logs from a file which contain entries with two timestamp log entries:&lt;BR /&gt;
1. eventTimestamp&lt;BR /&gt;
2. timestamp&lt;/P&gt;

&lt;P&gt;The later is included by my logging framework. I occasionally write events where the timestamp is the same. In these cases the events gets grouped together as shown below:&lt;/P&gt;

&lt;P&gt;The events below would all appear under the timestamp: 2016-12-28T17:07:55.946Z.&lt;BR /&gt;
  ```&lt;BR /&gt;
{"eventCode":13400,"eventDetails":{"title":"xxxx","source":"xxx","code":"InvalidArgument","subscriptionType":"active","system":"xxx"},"userDetails":{"userAgent":"xxxx","userApp":"sc"},"eventTimestamp":"2016-12-28T17:07:55.946Z","uid":"xxx","accountDetails":{"account":"xx","email":"xxxxx,"environment":"xxx"},"level":"info","message":"","timestamp":"2016-12-28T17:07:39.593Z"}&lt;BR /&gt;
{"eventCode":13400,"eventDetails":{"title":"xxxx","source":"xxx","code":"InvalidArgument","subscriptionType":"active","system":"xxx"},"userDetails":{"userAgent":"","userApp":"sc"},"eventTimestamp":"2016-12-28T17:07:56.766Z","uid":"xxx","accountDetails":{"account":"xxxx","email":"xxxx","environment":"xxx"},"level":"info","message":"","timestamp":"2016-12-28T17:07:39.593Z"}&lt;/P&gt;

&lt;P&gt;```&lt;/P&gt;

&lt;P&gt;I have tried creating a props.conf file with the following configuration:&lt;/P&gt;

&lt;P&gt;&lt;CODE&gt;&lt;BR /&gt;
[api_reporting]&lt;BR /&gt;
SHOULD_LINEMERGE=false&lt;BR /&gt;
TIME_PREFIX=eventTimestamp&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=10&lt;BR /&gt;
&lt;/CODE&gt;&lt;/P&gt;

&lt;P&gt;However, I am continuing to experience the issue. I have followed [1] to determine if my props.conf file is read and it seems to be the case. The configuration given above were taken from [2]. &lt;/P&gt;

&lt;P&gt;[1] &lt;A href="https://docs.splunk.com/Documentation/Splunk/6.5.1/Troubleshooting/Usebtooltotroubleshootconfigurations"&gt;https://docs.splunk.com/Documentation/Splunk/6.5.1/Troubleshooting/Usebtooltotroubleshootconfigurations&lt;/A&gt;&lt;BR /&gt;
[2] &lt;A href="https://answers.splunk.com/answers/80488/splunk-treating-multiple-lines-as-one-event-since-they-have-the-same-timestamp.html"&gt;https://answers.splunk.com/answers/80488/splunk-treating-multiple-lines-as-one-event-since-they-have-the-same-timestamp.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Dec 2016 17:47:17 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209596#M41270</guid>
      <dc:creator>Staging_2</dc:creator>
      <dc:date>2016-12-28T17:47:17Z</dc:date>
    </item>
    <item>
      <title>Re: Handling events with the same timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209597#M41271</link>
      <description>&lt;P&gt;Try this for your props.conf (on Indexer or Heavy Forwarder)&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;[api_reporting]
SHOULD_LINEMERGE = false
LINE_BREAKER = ([\r\n]+)(?=\{\"eventCode\")
TIME_PREFIX = eventTimestamp\":\"
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N
MAX_TIMESTAMP_LOOKAHEAD = 23
&lt;/CODE&gt;&lt;/PRE&gt;</description>
      <pubDate>Wed, 28 Dec 2016 18:51:53 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209597#M41271</guid>
      <dc:creator>somesoni2</dc:creator>
      <dc:date>2016-12-28T18:51:53Z</dc:date>
    </item>
    <item>
      <title>Re: Handling events with the same timestamp</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209598#M41272</link>
      <description>&lt;P&gt;Thank You.&lt;/P&gt;

&lt;P&gt;I did not get a chance to try it out yet. I will update the thread once I get a chance to test it.&lt;/P&gt;</description>
      <pubDate>Thu, 29 Dec 2016 13:02:00 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Handling-events-with-the-same-timestamp/m-p/209598#M41272</guid>
      <dc:creator>Staging_2</dc:creator>
      <dc:date>2016-12-29T13:02:00Z</dc:date>
    </item>
  </channel>
</rss>

