Metrics/Splunk v2

Add Splunk v2 metrics integration

Changed on

Add a Splunk v2 metrics integration (Prometheus-based).

Available on all LavinMQ clusters and RabbitMQ clusters running version 3.10.0 or later.

See the Splunk metrics setup guide for setup details and supported metrics.

post/integrations/metrics/splunk_v2

Request

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

Request body application/x-www-form-urlencoded

tokenstring uuid required

HEC token used for authentication

endpointstring required

Full HEC endpoint URL for incoming metrics

tagsstring

(Optional) Enter tags like env=prod,region=europe

metrics_filterstring[]

(Optional) Metrics to include in the integration export. When omitted, the default metric set is used.

Example request

{
  "endpoint": "https://your-instance-id.splunkcloud.com:443/services/collector"
}

Response

Integration created successfully

idinteger

Created integration ID

Example response

{
  "id": 10
}

Changes

    • breaking

      the request property format changed from no format to uuid

    • breaking

      removed the success response with the status

    • info

      added the new optional request property

    • info

      added the non-success response with the status

    • info

      added the success response with the status