logentries_exporter

command module
v1.3.0 Latest Latest
Warning

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

Go to latest
Published: May 19, 2020 License: MIT Imports: 7 Imported by: 0

README

Logentries/Rapid7 Exporter for Prometheus

Go Report Card

Simple server that scrapes logentries/rapid7 metrics endpoint and exports them as Prometheus metrics.

Flags/Arguments

  --telemetry.address string
        Address on which to expose metrics. (default -> ":9582")
  --metricsPath string
        Path under which to expose metrics. (default -> "/metrics")
  --apikey string
        ApiKey to connect logentries metrics. (required)
  --region string
        Region logentries (us, eu, ca or au). (default -> "us")
  --isDebug string
        Output verbose debug information. (default -> "false")

Collectors

The exporter collects the following metrics:

Metrics:

# HELP logentries_size_month_size_total Account size month in bytes.
# TYPE logentries_size_month_size_total gauge
logentries_size_month_size_total{account="Your account name"} XXXXXX
# HELP logentries_log_usage_daily Log Usage Size in bytes (d-1).
# TYPE logentries_log_usage_daily gauge
logentries_log_usage_daily{logID="XXXXXX-XXX-XXX-XXX-XXXXXXXXX",logName="XXX-XXXXXXX",logSet="XXXXXXX"} XXXXX
# HELP logentries_log_usage_up Was the last scrape of log usage Size successful (0-successful / 1-Fail)
# TYPE logentries_log_usage_up gauge
logentries_log_usage_up 0
...

Building and running

$ make setup
$ go build
$ ./logentries_exporter --apikey xxxx-xxxx-xxxx-xxxx

Contribute

Feel free to open an issue or PR if you have suggestions or ideas about what to add.

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