<?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: How come I can't override _time with props? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398173#M70985</link>
    <description>&lt;P&gt;Forget about the TIMESTAM_FIELDS.&lt;/P&gt;

&lt;P&gt;Keep the following configurations and make sure these are in the first Heavy Forwarder or Indexer through which the data is going &lt;/P&gt;

&lt;P&gt;KV_MODE=json&lt;BR /&gt;
TIME_PREFIX=time\":\s*\"&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=24&lt;/P&gt;</description>
    <pubDate>Tue, 29 Sep 2020 23:21:20 GMT</pubDate>
    <dc:creator>tiagofbmm</dc:creator>
    <dc:date>2020-09-29T23:21:20Z</dc:date>
    <item>
      <title>How come I can't override _time with props?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398172#M70984</link>
      <description>&lt;P&gt;Using an HTTP event collector on a heavy forwarder, I receive JSON that comes in as follows:&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;{
    "env":  "prod",
    "org":  "xxx",
    "percentile":  "95",
    "proxy":  "xxx",
    "region":  "europe-west1",
    "target":  "ALL",
    "time":  "2019-02-26T10:54:00.000+01:00",
    "totalLatency":  362,
    "targetLatency":  359
}
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;I want to override the indexing _time field with the timefield from the event. I've tried all forms of the following in Props:&lt;/P&gt;

&lt;P&gt;[stansa]&lt;/P&gt;

&lt;PRE&gt;&lt;CODE&gt;TIMESTAMP_FIELDS = time
TIME_FORMAT = %Y-%m-%dT%H:%M:%S.%3N
TIME_PREFIX = time\":\s*\"
KV_MODE = json
&lt;/CODE&gt;&lt;/PRE&gt;

&lt;P&gt;but the _time sticks to indexing time with the Splunk event looking like this:&lt;/P&gt;

&lt;P&gt;time&lt;BR /&gt;
2019-02-26T10:54:00.000+01:00   &lt;/P&gt;

&lt;P&gt;_time&lt;BR /&gt;
2019-02-26T10:55:11.000+01:00&lt;/P&gt;

&lt;P&gt;Please help me understand why Splunk stubbornly refuses to recognize me passing it a timestamp.&lt;/P&gt;</description>
      <pubDate>Tue, 26 Feb 2019 10:08:34 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398172#M70984</guid>
      <dc:creator>nickdewijer</dc:creator>
      <dc:date>2019-02-26T10:08:34Z</dc:date>
    </item>
    <item>
      <title>Re: How come I can't override _time with props?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398173#M70985</link>
      <description>&lt;P&gt;Forget about the TIMESTAM_FIELDS.&lt;/P&gt;

&lt;P&gt;Keep the following configurations and make sure these are in the first Heavy Forwarder or Indexer through which the data is going &lt;/P&gt;

&lt;P&gt;KV_MODE=json&lt;BR /&gt;
TIME_PREFIX=time\":\s*\"&lt;BR /&gt;
TIME_FORMAT=%Y-%m-%dT%H:%M:%S.%3N&lt;BR /&gt;
MAX_TIMESTAMP_LOOKAHEAD=24&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 23:21:20 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398173#M70985</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2020-09-29T23:21:20Z</dc:date>
    </item>
    <item>
      <title>Re: How come I can't override _time with props?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398174#M70986</link>
      <description>&lt;P&gt;I've implemented this exactly, on the Heavy Forwarder that is hosting the HEC. No effect. &lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 12:54:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398174#M70986</guid>
      <dc:creator>nickdewijer</dc:creator>
      <dc:date>2019-02-27T12:54:55Z</dc:date>
    </item>
    <item>
      <title>Re: How come I can't override _time with props?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398175#M70987</link>
      <description>&lt;P&gt;Here is the reason why no TIME parsing is done on JSON Endpoints:&lt;/P&gt;

&lt;P&gt;&lt;A href="https://answers.splunk.com/answers/411892/json-timestamps-not-parsed-via-http-event-collecto.html"&gt;https://answers.splunk.com/answers/411892/json-timestamps-not-parsed-via-http-event-collecto.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Wed, 27 Feb 2019 15:11:38 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398175#M70987</guid>
      <dc:creator>tiagofbmm</dc:creator>
      <dc:date>2019-02-27T15:11:38Z</dc:date>
    </item>
    <item>
      <title>Re: How come I can't override _time with props?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398176#M70988</link>
      <description>&lt;P&gt;That's amazing, never knew. I've switched over to raw, had to play around with the props AND the data coming into the HEC but it's exactly as I want it now. &lt;/P&gt;</description>
      <pubDate>Thu, 28 Feb 2019 11:42:23 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/How-come-I-can-t-override-time-with-props/m-p/398176#M70988</guid>
      <dc:creator>nickdewijer</dc:creator>
      <dc:date>2019-02-28T11:42:23Z</dc:date>
    </item>
  </channel>
</rss>

