BSD Ports

net-mgmt/grok_exporter 1.0.0.r4_46 FreeBSD

Export Prometheus metrics from arbitrary unstructured log data

System
FreeBSD
Repository
FreeBSD ports
Maintainer
[email protected]
Last update
Commit
d81b7ba3c3
License
APACHE20
Categories
net-mgmt
Package size
3252.1 KiB, 10383.6 KiB installed

Description

Grok is a tool to parse crappy unstructured log data into something structured and queryable. Grok is heavily used in Logstash to provide log data as input for ElasticSearch.

Grok ships with about 120 predefined patterns for syslog logs, apache and other webserver logs, mysql logs, etc. It is easy to extend Grok with custom patterns.

The grok_exporter aims at porting Grok from the ELK stack to Prometheus monitoring. The goal is to use Grok patterns for extracting Prometheus metrics from arbitrary log files.

In the other systems

SystemPortVersion
FreeBSDnet-mgmt/grok_exporter1.0.0.r4_46
HardenedBSDnet-mgmt/grok_exporter1.0.0.r4_44
GhostBSDnet-mgmt/grok_exporter1.0.0.r4_44

Install

Binary package:

pkg install grok_exporter

From the ports tree:

cd /usr/ports/net-mgmt/grok_exporter/ && make install clean

To depend on this port in another port's Makefile:

RUN_DEPENDS=	grok_exporter>0:net-mgmt/grok_exporter

Packages

The version each package repository carries. “-” means the repository builds no package of it, “n/a” that there is no such repository.

Repositoryaarch64amd64armv6armv7i386
FreeBSD:14:latest1.0.0.r4_451.0.0.r4_46---
FreeBSD:14:quarterly1.0.0.r4_451.0.0.r4_46n/a--
FreeBSD:15:latest1.0.0.r4_451.0.0.r4_46n/a--
FreeBSD:15:quarterly1.0.0.r4_451.0.0.r4_46n/an/an/a
FreeBSD:16:latest1.0.0.r4_441.0.0.r4_46n/an/an/a
FreeBSD:16:quarterlyn/an/an/an/an/a

Dependencies

As this port's Makefile names them.

Library 1

The full lists below include those, and their dependencies in turn.

Build dependencies 2
Run dependencies 1

No port depends on this one.

Configuration

No options to configure.

USES
go:modules
Service scripts
grok_exporter

Files

pkg-plist 23
  • bin/grok_exporter
  • @sample etc/grok_exporter/config.yml.sample
  • share/grok_exporter/example/config.yml
  • share/grok_exporter/example/exim-rejected-RCPT-examples.log
  • share/grok_exporter/example/config_logstash_http_input_ipv6.yml
  • share/grok_exporter/patterns/aws
  • share/grok_exporter/patterns/bacula
  • share/grok_exporter/patterns/bro
  • share/grok_exporter/patterns/exim
  • share/grok_exporter/patterns/firewalls
  • share/grok_exporter/patterns/grok-patterns
  • share/grok_exporter/patterns/haproxy
  • share/grok_exporter/patterns/java
  • share/grok_exporter/patterns/junos
  • share/grok_exporter/patterns/linux-syslog
  • share/grok_exporter/patterns/mcollective
  • share/grok_exporter/patterns/mcollective-patterns
  • share/grok_exporter/patterns/mongodb
  • share/grok_exporter/patterns/nagios
  • share/grok_exporter/patterns/postgresql
  • share/grok_exporter/patterns/rails
  • share/grok_exporter/patterns/redis
  • share/grok_exporter/patterns/ruby
distinfo 19
FileSizeSHA256
fstab-grok_exporter-v1.0.0.RC4_GH0.tar.gz319393f6afb183b150c26c16ad803f728ebafb9aadbd50a18ecc2ed349e09902310202
logstash-plugins-logstash-patterns-core-6d25c13_GH0.tar.gz273837f4986b695d82bcfd585b47635607267ce473a601df504672072b242ae7c607f
alecthomas-kingpin-v2.2.6_GH0.tar.gz443834624eae43489de8a71ea60efaf6744c581b6bd62909f7514c484c1ea0efaba5a
alecthomas-template-fb15b899a751_GH0.tar.gz553392e2a44375eca48ce941182504b5d13aa98182b9a3f64ace33bfda52208bd0f5e
alecthomas-units-c3de453c63f4_GH0.tar.gz3485b2eb77de46e677edb150bb4bf81d213416a477525980e315264cbd70b22d0ece
beorn7-perks-v1.0.1_GH0.tar.gz1086798db84bb0224a26094e6adba91b7ee7a1a7ace28cb648d818f8e779e6a19f825
bitly-go-simplejson-v0.5.0_GH0.tar.gz599444196c95263e74277372319e5a6cb7f53b29ef7ddab8c7fed6ce6fc80144d465
cespare-xxhash-v2.1.1_GH0.tar.gz92920ee31178d2c5a1249be4e26294a2f428008dc4e1ecbbfbe47f74e41026df1148
go-yaml-yaml-v2.2.7_GH0.tar.gz7265174afe4be0fa4482de73cfaf952dc6c8d41088b687c3f9de4a7ced86d2bbe0cb4
golang-exp-da58074b4299_GH0.tar.gz1.484336e+0625c8abc24a515aea70869eb6a5c8671d71821a22b90837807cfd2da7ebf893ff
golang-protobuf-v1.3.2_GH0.tar.gz312285c9cda622857a17cf0877c5ba76688a931883e505f40744c9495638b6e3da1f65
golang-sys-d4481acd189f_GH0.tar.gz1.536485e+06190a722622274e5a847b2040b17771b28bc3dcd6be61bdf48f52be9e121a0ec7
konsorten-go-windows-terminal-sequences-v1.0.1_GH0.tar.gz1909e36c5a5de388bf72db3037b47f025b09e574be8d0bc74b3e44c960cba0880e87
matttproud-golang_protobuf_extensions-v1.0.1_GH0.tar.gz371842def0ee6f6b12b1efc0e3007d89f598608a072610e805c3655ea9d13c3ead49b
prometheus-client_golang-v1.3.0_GH0.tar.gz1439327ef44644c24178b650f88930f33ee42758393e657de5d37390f42cb64f894010
prometheus-client_model-v0.1.0_GH0.tar.gz105206d5b240f7d53765179b84e8f1361d8cd8963b842f70dd1dbce250e8a45f12bdb
prometheus-common-v0.7.0_GH0.tar.gz10052071b1dce2afd959f9fcab3b5e097dfa9d398a61749851d290114746a3f8f119ae
prometheus-procfs-v0.0.8_GH0.tar.gz1262991c26c8b86a9b1902684f860f94d0bf4b94abcc570e456bf9a74d1c9d83643872
sirupsen-logrus-v1.4.2_GH0.tar.gz4137367f2ddf467b7e63d2d2529d227946a331e245aeef7e2e4521ae82647b5ef84d9

Commit history 6

DateCommitCreditsLog message
d81b7ba3c3 Dag-Erling Smørgrav various: Bump Go ports for Go 1.26.10 / 1.27.3
031fc6bfbf Dag-Erling Smørgrav various: Bump Go ports
dd0905142a Adam Weinberger many: Bump go ports for 1.26.8 and 1.27.1
4867821cd6 Dag-Erling Smørgrav various: Bump go ports for go-1.25.14 / 1.26.7
6d39dcf04e Dag-Erling Smørgrav various: Bump go ports for go-1.25.13 / 1.26.6

The latest 5 of 6 in the history this site was built from.