An open API service indexing awesome lists of open source software.

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.

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"]
```