splunk_exporter

command module
v0.0.0-...-edb78be Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 2, 2025 License: MIT Imports: 23 Imported by: 0

README ΒΆ

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

πŸ› οΈ Configuration

Splunk exporter needs to access management APIs See an example configuration file in splunk_exporter_example.yml.

πŸ“ metrics

All metrics are Gauge.

from API
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

πŸ§‘β€πŸ”¬ Testing

go test -v ./...

✨ Roadmap

Item Status
Metrics indexes βœ… Done
Indexes metrics πŸ•°οΈ Ongoing
Savedsearches metrics πŸ”œ Next
System metrics ❓ Not planned yet
Ingestion pipeline ❓ Not planned yet

Documentation ΒΆ

The Go Gopher

There is no documentation for this package.

Directories ΒΆ

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL