<?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: Multiple timestamp fields with same field name in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499215#M85080</link>
    <description>&lt;P&gt;nailed it. Also weird to note, this was initially not working until I removed the plus sign from the TIME_PREFIX config. Once I removed that everything looks good.&lt;/P&gt;</description>
    <pubDate>Thu, 14 May 2020 20:33:03 GMT</pubDate>
    <dc:creator>wwhite12</dc:creator>
    <dc:date>2020-05-14T20:33:03Z</dc:date>
    <item>
      <title>Multiple timestamp fields with same field name</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499213#M85078</link>
      <description>&lt;P&gt;I have some json data events that has multiple "date" fields. The date field I am looking to use as my timestamp comes at the end of every event and it appears that Splunk is using whichever date field it reads first. Is there a way to specify which date field to use? The fields are in different time formats and even though I am specifying the time format for epoch time, it still appears to be incorrectly reading the first timestamp. &lt;/P&gt;

&lt;P&gt;props.conf:&lt;BR /&gt;
[sourcetype]&lt;BR /&gt;
SHOULD_LINEMERGE=true&lt;BR /&gt;
LINE_BREAKER=([\r\n]+)&lt;BR /&gt;
NO_BINARY_CHECK=true&lt;BR /&gt;
AUTO_KV_JSON=false&lt;BR /&gt;
CHARSET=UTF-8&lt;BR /&gt;
INDEXED_EXTRACTIONS=json&lt;BR /&gt;
KV_MODE=none&lt;BR /&gt;
TRUNCATE=20000&lt;BR /&gt;
category=Structured&lt;BR /&gt;
description=JavaScript Object Notation format. For more information, visit &lt;A href="http://json.org/" target="_blank"&gt;http://json.org/&lt;/A&gt;&lt;BR /&gt;
disabled=false&lt;BR /&gt;
pulldown_type=true&lt;BR /&gt;
TIME_PREFIX="date":+&lt;BR /&gt;
TIME_FORMAT=%s%3N&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=13&lt;/P&gt;

&lt;P&gt;Data Sample:&lt;BR /&gt;
{"message”:”[messageType] This is a message",”type":"IntegrationLog","level":"WARN","details":{"_incomingData":{"_parsedData":{"hostNotificationNumber":"1",&lt;STRONG&gt;"date":"2020-04-01&lt;/STRONG&gt;”},”dateType”:”blah”,”integrationName”:”blahblahblah”,”incomingDataId”:”xxxxxxxxxxxxxxx”}},&lt;STRONG&gt;”date":1585775200775&lt;/STRONG&gt;} &lt;/P&gt;</description>
      <pubDate>Wed, 30 Sep 2020 05:26:37 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499213#M85078</guid>
      <dc:creator>wwhite12</dc:creator>
      <dc:date>2020-09-30T05:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple timestamp fields with same field name</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499214#M85079</link>
      <description>&lt;P&gt;Can you be more specific with &lt;CODE&gt;TIME_PREFIX&lt;/CODE&gt;?  Perhaps &lt;CODE&gt;}, "date":&lt;/CODE&gt;?&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 17:42:12 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499214#M85079</guid>
      <dc:creator>richgalloway</dc:creator>
      <dc:date>2020-05-14T17:42:12Z</dc:date>
    </item>
    <item>
      <title>Re: Multiple timestamp fields with same field name</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499215#M85080</link>
      <description>&lt;P&gt;nailed it. Also weird to note, this was initially not working until I removed the plus sign from the TIME_PREFIX config. Once I removed that everything looks good.&lt;/P&gt;</description>
      <pubDate>Thu, 14 May 2020 20:33:03 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/Multiple-timestamp-fields-with-same-field-name/m-p/499215#M85080</guid>
      <dc:creator>wwhite12</dc:creator>
      <dc:date>2020-05-14T20:33:03Z</dc:date>
    </item>
  </channel>
</rss>

