prometheus grok exporter #1

Supports: xenial bionic
Add to new model

Description

Export Prometheus metrics from arbitrary unstructured log data.

Minimal fork to install only the prometheus-grok-exporter snap.


Juju grok-exporter charm

grok_exporter allows to export Prometheus metrics from arbitrary unstructured log data.

This charm can be related to the prometheus charm.

Configuration

grok_exporter rules can be quite long, for convenience save your config in a file and them:

juju config grok-exporter config="$(cat config.yml)"

Configuration

config
(string) grok-exporter's configuration
files
(string) Comma separated list of files to monitor
/var/log/syslog
promreg_authtoken
(string) The Prometheus Registration authtoken.
promreg_url
(string) The http(s) url and port where the Prometheus Registration service is listening.
snap_channel
(string) Controls the snap channel name. Supported values are: "stable", "candidate", "beta" and "edge"
stable
snap_proxy
(string) DEPRECATED. Use snap-http-proxy and snap-https-proxy model configuration settings. HTTP/HTTPS web proxy for Snappy to use when accessing the snap store.
snap_proxy_url
(string) DEPRECATED. Use snap-store-proxy model configuration setting. The address of a Snap Store Proxy to use for snaps e.g. http://snap-proxy.example.com
snapd_refresh
(string) How often snapd handles updates for installed snaps. The default (an empty string) is 4x per day. Set to "max" to check once per month based on the charm deployment date. You may also set a custom string as described in the 'refresh.timer' section here: https://forum.snapcraft.io/t/system-options/87