<?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: What date format does splunk HTTP Event Collector use? in Getting Data In</title>
    <link>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613693#M106201</link>
    <description>&lt;P&gt;Add a "time" field with epoch time&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should probably use&amp;nbsp;&lt;/P&gt;&lt;P&gt;services/collector/event&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/HECRESTendpoints" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/HECRESTendpoints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 20 Sep 2022 05:45:05 GMT</pubDate>
    <dc:creator>bowesmana</dc:creator>
    <dc:date>2022-09-20T05:45:05Z</dc:date>
    <item>
      <title>What date format does splunk HTTP Event Collector use?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613685#M106199</link>
      <description>&lt;P&gt;I want to parse local log files and add the date to the body of the post request, but not exactly certain what is the best date form at to use?&amp;nbsp; Can someone please provide some example options?&lt;/P&gt;&lt;P&gt;Thank You,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;PRE&gt;$params = @{
    Uri = 'https://prd-p.splunkcloud.com:8088/services/collector'
    Method = 'POST'
    Headers = @{
        Authorization = 'Splunk 2caf8cde'
    }
    Body   = @{
        index = 'job1'
        sourcetype = '_json'
        event      = @{
            name1 = "value1"
            name2 = "value2"
            array1 = @(
                "value1"
                "value2"
            )
        }
    } | ConvertTo-Json
}
Invoke-RestMethod -SkipCertificateCheck @params&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:21:55 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613685#M106199</guid>
      <dc:creator>mark-jones</dc:creator>
      <dc:date>2022-09-20T05:21:55Z</dc:date>
    </item>
    <item>
      <title>Re: What date format does splunk HTTP Event Collector use?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613691#M106200</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://community.splunk.com/t5/user/viewprofilepage/user-id/249402"&gt;@mark-jones&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector#Event_metadata" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector#Event_metadata&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You could take a look at this link and there are examples deep links to follow inside.&lt;/P&gt;&lt;P&gt;--&lt;/P&gt;&lt;P&gt;Hope it helps!&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:38:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613691#M106200</guid>
      <dc:creator>venkatasri</dc:creator>
      <dc:date>2022-09-20T05:38:05Z</dc:date>
    </item>
    <item>
      <title>Re: What date format does splunk HTTP Event Collector use?</title>
      <link>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613693#M106201</link>
      <description>&lt;P&gt;Add a "time" field with epoch time&amp;nbsp;&lt;/P&gt;&lt;P&gt;See here&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/FormateventsforHTTPEventCollector&lt;/A&gt;&lt;/P&gt;&lt;P&gt;You should probably use&amp;nbsp;&lt;/P&gt;&lt;P&gt;services/collector/event&lt;/P&gt;&lt;P&gt;&lt;A href="https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/HECRESTendpoints" target="_blank"&gt;https://docs.splunk.com/Documentation/Splunk/9.0.1/Data/HECRESTendpoints&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Sep 2022 05:45:05 GMT</pubDate>
      <guid>https://community.splunk.com/t5/Getting-Data-In/What-date-format-does-splunk-HTTP-Event-Collector-use/m-p/613693#M106201</guid>
      <dc:creator>bowesmana</dc:creator>
      <dc:date>2022-09-20T05:45:05Z</dc:date>
    </item>
  </channel>
</rss>

