Monitor a Splunk instance
You will need a configuration file, follow splunk_exporter_example.yml
format.
./splunk_exporter --help
You need docker compose installed, a bash helper is provided to start the exporter and the whole test bench as a docker compose environment.
cd deploy/
bash run.sh
To stop it:
docker compose down
After doing some changes, possible to re-deploy splunk_exporter with the following command
docker compose up -d --build splunk_exporter
Splunk exporter needs to access management APIs
See an example configuration file in splunk_exporter_example.yml
.
All metrics are Gauge.
Prefix | Labels | Description |
---|---|---|
splunk_exporter_index_ |
index_name |
Numerical data coming from data/indexes endpoint. |
splunk_exporter_indexer_throughput_bytes_per_seconds |
None | Average data throughput in indexer |
splunk_exporter_metric_ |
Dimensions returned by Splunk | Export from metric indexes |
splunk_exporter_health_splunkd |
name |
Health status from local splunkd |
splunk_exporter_health_deployment |
instance_id , name |
Health status from deployment |
go test -v ./...
Item | Status |
---|---|
Metrics indexes | ✅ Done |
Indexes metrics | 🕰️ Ongoing |
Savedsearches metrics | 🔜 Next |
System metrics | ❓ Not planned yet |
Ingestion pipeline | ❓ Not planned yet |