https://github.com/a-know/mackerel-plugin-log
Metric plugin for posts the number of detected log lines as Mackerel metrics.
https://github.com/a-know/mackerel-plugin-log
mackerel mackerel-plugins
Last synced: 12 months ago
JSON representation
Metric plugin for posts the number of detected log lines as Mackerel metrics.
- Host: GitHub
- URL: https://github.com/a-know/mackerel-plugin-log
- Owner: a-know
- Created: 2019-12-02T00:56:53.000Z (over 6 years ago)
- Default Branch: master
- Last Pushed: 2019-12-11T02:32:18.000Z (over 6 years ago)
- Last Synced: 2025-05-14T11:28:48.047Z (about 1 year ago)
- Topics: mackerel, mackerel-plugins
- Language: Go
- Homepage:
- Size: 2.33 MB
- Stars: 2
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# mackerel-plugin-log
## Install
```sh
% 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"]
```