K-Yo / splunk_exporter

MIT License
1 stars 0 forks source link

splunk_exporter

Go Report Card

Monitor a Splunk instance

โ“ Howto

You will need a configuration file, follow splunk_exporter_example.yml format.

./splunk_exporter --help

๐Ÿงช Example run

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

๐Ÿ™‹ Contribute

After doing some changes, possible to re-deploy splunk_exporter with the following command

docker compose up -d --build splunk_exporter

๐Ÿ“ metrics

All metrics are Gauge.

from API

Prefix Description
splunk_exporter_index_ Numerical data coming from data/indexes endpoint.
splunk_exporter_indexer_throughput_bytes_per_seconds average data throughput in indexer
splunk_exporter_metric_ Export from metric indexes
splunk_exporter_health_splunkd Health status from local splunkd
splunk_exporter_health_deployment Health status from deployment

โ›” Limitations

Currently, only one splunk instance is supported