Skip to content
Metric plugin for posts the number of detected log lines as Mackerel metrics.
Go Makefile Shell
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
lib
script
.gitignore
Makefile
README.md
go.mod
go.sum
main.go
test.log

README.md

mackerel-plugin-log

Install

% mkr plugin install mackerel-plugin-log

Setting

[plugin.metrics.log-detect]
command = ["/path/to/mackerel-plugin-log", "--file", "/path/to/app.log", "--pattern", "ERROR", "--exclude", "retry"]
You can’t perform that action at this time.