Logs/Splunk

Add Splunk log integration

Changed on

Add a Splunk log integration.

Create a HTTP Event Collector token at https://<your-splunk>.cloud.splunk.com/en-US/manager/search/http-eventcollector

We recommend using Splunk for new integrations, which ships logs via the OpenTelemetry Collector.

post/integrations/logs/splunk

Request

  • Base URL
    https://api.cloudamqp.com/api
  • URL
    https://api.cloudamqp.com/api/integrations/logs/splunk
  • Auth
    HTTP basic

Request body application/x-www-form-urlencoded

tokenstring required

The token used for authentication

host_portstring required

Destination to send the logs

sourcetypestring required

Assigns source type to the data exported

Example request

{
  "host_port": "input-prd-p-rdq96mdbptj4.cloud.splunk.com:8080",
  "sourcetype": "generic_single_line"
}

Response

Integration created successfully

idinteger

Created integration ID

Example response

{
  "id": 10
}

Changes

    • breaking

      removed the success response with the status

    • info

      added the non-success response with the status

    • info

      added the success response with the status