Metrics/Splunk

Add Splunk metrics integration

Changed on

Add a Splunk metrics integration (legacy).

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 exports Prometheus metrics.

post/integrations/metrics/splunk

Request

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

Request body application/x-www-form-urlencoded

hostnamestring required

Destination hostname for Splunk metrics

portinteger required

Destination port

tokenstring uuid required

Authentication token

Example request

{
  "hostname": "input-prd-p-rdq96mdbptj4.cloud.splunk.com",
  "port": 8080
}

Response

Integration created successfully

idinteger

Created integration ID

Example response

{
  "id": 10
}

Changes

    • breaking

      added the new required request property

    • breaking

      added the new required request property

    • breaking

      the request property format changed from no format to uuid

    • warning

      removed the request property

    • warning

      removed the request property

    • info

      added the non-success response with the status

    • info

      added the success response with the status