mtail icon indicating copy to clipboard operation
mtail copied to clipboard

extract internal monitoring data from application logs for collection in a timeseries database

Results 95 mtail issues
Sort by recently updated
recently updated
newest added

## Running mtail like below ```shell /tmp/weblog_exporter/mtail -port=13904 -progs=/tmp/weblog_exporter/apache_combined.mtail -logs=/usr/local/apache/vhosts/*/logs/*access*log.[0-9][0-9][0-9][0-9][0-9][0-9][0-9][0-9] -logtostderr & ``` ## mtail version ```shell ./mtail --version mtail version 3.0.0-rc52 git revision 6c1f19c1f95ccf1afe2708e41d188bd656db3aa1 go version go1.20.5 go arch...

question
more-info-needed

Here is a requirement. When I monitor a certain string in the log through Mtail and detect it, I want to inform the recipient of the timestamp and content of...

enhancement
help wanted

Is there action to write unparsed records to a file? For example ``` ... otherwise { stat["other"]++ write /var/log/unparsed.log //??? } ```

enhancement
mtail-Log Tailing

Was working with a log that during rotation initially gets created with permissions such that mtail can't read it. Even if those permissions are later fixed mtail seems to be...

bug
mtail-Log Tailing

We are using mtail to parse some specific logs where sometimes there are replacement chars(�) in strings. It seems like when mtail hits a log line with this char, it...

bug
mtail-Log Tailing

Thanks for discovering a problem in `mtail`! When reporting bugs in mtail behaviour, please be as detailed as possible; describe the problem, what you wanted to have happen, what you...

more-info-needed
mtail-Log Tailing

As prometheus and grafana has supported exemplar feature, can mtail support this feature? here is some doc related: https://github.com/OpenObservability/OpenMetrics/blob/main/specification/OpenMetrics.md https://grafana.com/docs/grafana/latest/basics/exemplars/ https://prometheus.io/docs/prometheus/latest/feature_flags/#exemplars-storage thanks!

enhancement
mtail-Language/VM

Processing this 7.5M line file normally takes ~2-3 minutes on my laptop: ``` $ time ./mtail -emit_prog_label=false -one_shot -one_shot_format=prometheus -logtostderr -progs=lc -logs access-ssl.log.6 I1010 12:23:55.906123 179121 main.go:117] mtail version 3.0.0-rc50...

bug
mtail-Log Tailing

How to deal with the log name with a suffix, such as access.log.20221221314, using access.log.* will load all the logs, I only want to monitor the logs of the current...

question

OSS-Fuzz has found a bug in this project. Please see https://oss-fuzz.com/testcase?key=5837710016184320 for details and reproducers. This issue is mirrored from https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=68513 and will auto-close if the status changes there. If...