Splunk
We recommend Splunk V2 which delivers Prometheus metrics via OpenTelemetry.
To send metrics to Splunk, create a new HTTP Event Collector
to retrieve a token and enter it in the
Token
field. Get the Splunk endpoint address and add it to the hostname field. Step by step guide:
Create a data input and token for HEC Use the HTTP Event Collector (HEC) and the /collector REST API endpoint.
-
In Splunk Web, click Settings > Data Inputs.
-
Under Local Inputs, click HTTP Event Collector.
- Verify that HEC is enabled.
- Click Global Settings.
- For All Tokens, click Enabled if this button is not already selected.
- Click Save.
-
Configure an HEC token for sending data by clicking New Token.
-
On the Select Source page, for Name, enter a token name, for example “Metrics token”.
-
Leave the other options blank or unselected.
-
Click Next.
-
On the Input Settings page, for Source type, click New.
-
In Source Type, type a name for your new source type.
-
For Source Type Category, select Metrics.
-
Optionally, in Source Type Description type a description.
- Next to Default Index, select your metrics index, or click Create a new index to create one. If you choose to create an index, in the New Index dialog box:
- Enter an Index Name.
- For Index Data Type, click Metrics.
- Configure additional index properties as needed.
- Click Save.
-
Click Review, and then click Submit.
- Copy the Token Value that is displayed. This HEC token is required for sending data.
Exported server metrics
| Metric | Value type |
|---|---|
| cloudamqp.cpu.user | Percent |
| cloudamqp.cpu.system | Percent |
| cloudamqp.cpu.iowait | Percent |
| cloudamqp.cpu.steal | Percent |
| cloudamqp.mem.free | Mb |
| cloudamqp.mem.used | Mb |
| cloudamqp.mem.total | Mb |
| cloudamqp.swap.free | Mb |
| cloudamqp.swap.used | Mb |
Exported RabbitMQ metrics
| Metric |
|---|
| cloudamqp.publish_rate |
| cloudamqp.consume_rate |
| cloudamqp.connection |
| cloudamqp.channels |
| cloudamqp.consumers |
| cloudamqp.queues |
| cloudamqp.queued_messages |
| cloudamqp.queue_length |
| cloudamqp.queue_consumers |
| cloudamqp.queue_publish_rate |
| cloudamqp.queue_consume_rate |