Splunk® Enterprise

Getting Data In

Splunk Enterprise version 9.0 will no longer be supported as of June 14, 2024. See the Splunk Software Support Policy for details. For information about upgrading to a supported version, see How to upgrade Splunk Enterprise.

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® Enterprise: 8.1.0, 8.1.1, 8.1.2, 8.1.3, 8.1.4, 8.1.5, 8.1.6, 8.1.7, 8.1.8, 8.1.9, 8.1.10, 8.1.11, 8.1.12, 8.1.13, 8.1.14, 8.2.0, 8.2.1, 8.2.2, 8.2.3, 8.2.4, 8.2.5, 8.2.6, 8.2.7, 8.2.8, 8.2.9, 8.2.10, 8.2.11, 8.2.12, 9.0.0, 9.0.1, 9.0.2, 9.0.3, 9.0.4, 9.0.5, 9.0.6, 9.0.7, 9.0.8, 9.0.9, 9.0.10, 9.1.0, 9.1.1, 9.1.2, 9.1.3, 9.1.4, 9.1.5, 9.1.6, 9.2.0, 9.2.1, 9.2.2, 9.2.3, 9.3.0, 9.3.1


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