Splunk Cloud Platform

Getting Data In

HTTP Event Collector REST API endpoints

You can find the complete HTTP Event Collector REST API endpoint reference in the Splunk Enterprise REST API Reference Manual. Each endpoint is linked here for your convenience.

REST API endpoint Description
data/inputs/http Accesses or updates HTTP Event Collector global configuration tokens and application tokens.
data/inputs/http/{name} Manages the {name} HTTP Event Collector token. HTTP, as in data/inputs/http/http, indicates global configuration.
data/inputs/http/{name}/disable Disables the {name} HTTP Event Collector token.
data/inputs/http/{name}/enable Enables the {name} HTTP Event Collector token.
services/collector Sends events to HTTP Event Collector using the Splunk platform JavaScript Object Notation (JSON) event protocol.
services/collector/ack Queries event indexing status.
services/collector/event Sends timestamped events to the HTTP Event Collector using the Splunk platform JSON event protocol when you set the auto_extract_timestamp argument to true in the /event URL.
  • An example of a timestamp is 2017-01-02 00:00:00
  • If there's a timestamp in the event's JSON envelope, Splunk honors that timestamp first.
  • If there's no timestamp in the event's JSON envelope, the merging pipeline extracts the timestamp from the event.
  • If time=xxx is used in the /event URL, then auto_extract_timestamp is disabled.
services/collector/event/1.0 This endpoint works identically to the services/collector/event endpoint but introduces a protocol version for future scalability.
services/collector/health Checks the health of the HTTP Event Collector. This endpoint is supported in Splunk Cloud Platform and versions 6.6.0 and higher of Splunk Enterprise.
services/collector/mint Posts data formatted for Splunk MINT to the HTTP Event Collector.
services/collector/mint/1.0 This endpoint works identically to the receivers/token/mint endpoint but introduces a protocol version for future scalability.
services/collector/raw Sends raw data directly to the HTTP Event Collector.
services/collector/raw/1.0 This endpoint works identically to the services/collector/raw endpoint but introduces a protocol version for future scalability.
services/collector/s2s This endpoint receives Splunk TCP data over HTTP from the Splunk Universal Forwarder. Compatible with Splunk Enterprise 8.1.0 and higher.
Last modified on 27 October, 2021
Send metrics to a metrics index   HTTP Event Collector examples

This documentation applies to the following versions of Splunk Cloud Platform: 9.2.2406, 8.2.2112, 8.2.2202, 9.0.2205, 8.2.2201, 8.2.2203, 9.0.2208, 9.0.2209, 9.0.2303, 9.0.2305, 9.1.2308, 9.1.2312, 9.2.2403 (latest FedRAMP release)


Was this topic useful?







You must be logged into splunk.com in order to post comments. Log in now.

Please try to keep this discussion focused on the content covered in this documentation topic. If you have a more general question about Splunk functionality or are experiencing a difficulty with Splunk, consider posting a question to Splunkbase Answers.

0 out of 1000 Characters