<?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: JSON timestamp not parsed via HTTP Event Collector in Splunk cluster in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/JSON-timestamp-not-parsed-via-HTTP-Event-Collector-in-Splunk/m-p/336407#M62180</link>
    <description>&lt;P&gt;Splunk version 6.5.1 correctly uses the timestamp field from sourcetype but later versions including the latest 7.0.1 does not use timestamp from source type and always uses injection time.&lt;/P&gt;</description>
    <pubDate>Thu, 14 Dec 2017 23:45:07 GMT</pubDate>
    <dc:creator>thol</dc:creator>
    <dc:date>2017-12-14T23:45:07Z</dc:date>
    <item>
      <title>JSON timestamp not parsed via HTTP Event Collector in Splunk cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-timestamp-not-parsed-via-HTTP-Event-Collector-in-Splunk/m-p/336406#M62179</link>
      <description>&lt;P&gt;I have a similar issue as described in another question "JSON timestamps not parsed via HTTP Event Collector". But I'm seeing the issue only in a Splunk cluster setup. (Http request sending event to forwarder, then to indexer). Single node splunk instance works OK.&lt;/P&gt;

&lt;P&gt;I've also tried to use the raw endpoint as described in the answer to the above question but still doesn't work. Event timestamp (_time) is always the current time of splunk server. Is there any way to have the splunk parse the timestamp inside the event in a forwarder setup?&lt;/P&gt;

&lt;P&gt;Source type:&lt;BR /&gt;
    [x_perf]&lt;BR /&gt;
    DATETIME_CONFIG =&lt;BR /&gt;
    INDEXED_EXTRACTIONS = json&lt;BR /&gt;
    KV_MODE = NONE&lt;BR /&gt;
    MAX_TIMESTAMP_LOOKAHEAD = -1&lt;BR /&gt;
    NO_BINARY_CHECK = true&lt;BR /&gt;
    TIMESTAMP_FIELDS = run_timestamp&lt;BR /&gt;
    TIME_FORMAT = %s&lt;BR /&gt;
    TRUNCATE = 512000&lt;BR /&gt;
    category = Custom&lt;BR /&gt;
    pulldown_type = 1&lt;/P&gt;

&lt;P&gt;curl -k -u "x:UUID" &lt;A href="https://forwarder:8088/services/collector/raw?channel=XXXXX" target="_blank"&gt;https://forwarder:8088/services/collector/raw?channel=XXXXX&lt;/A&gt; --data-binary @json_file.json&lt;BR /&gt;
==json file===&lt;BR /&gt;
[&lt;BR /&gt;
 {&lt;BR /&gt;
  "event": {&lt;BR /&gt;
   "key1": "value1",&lt;BR /&gt;
   "key2": "value2",&lt;BR /&gt;
   "run_timestamp": 1513024571&lt;BR /&gt;
  },&lt;BR /&gt;
  "index": "x-index",&lt;BR /&gt;
  "sourcetype": "x_perf"&lt;BR /&gt;
 }&lt;BR /&gt;
]&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:12:39 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-timestamp-not-parsed-via-HTTP-Event-Collector-in-Splunk/m-p/336406#M62179</guid>
      <dc:creator>thol</dc:creator>
      <dc:date>2020-09-29T17:12:39Z</dc:date>
    </item>
    <item>
      <title>Re: JSON timestamp not parsed via HTTP Event Collector in Splunk cluster</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/JSON-timestamp-not-parsed-via-HTTP-Event-Collector-in-Splunk/m-p/336407#M62180</link>
      <description>&lt;P&gt;Splunk version 6.5.1 correctly uses the timestamp field from sourcetype but later versions including the latest 7.0.1 does not use timestamp from source type and always uses injection time.&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2017 23:45:07 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/JSON-timestamp-not-parsed-via-HTTP-Event-Collector-in-Splunk/m-p/336407#M62180</guid>
      <dc:creator>thol</dc:creator>
      <dc:date>2017-12-14T23:45:07Z</dc:date>
    </item>
  </channel>
</rss>

