mtail
mtail copied to clipboard
extract internal monitoring data from application logs for collection in a timeseries database
When using a const by itself as a match condition, then we get warnings about the capture group names not existing. ``` const A /(?.*)/ A { x[$a]++ } ```...
Expressions like: ``` getfilename() =~ "abc.log" && /expression/ { ``` are illegale bcause =~ abc.log and expression both cause capture group 0 to be inserted into the current scope, throwing...
https://groups.google.com/d/topic/mtail-users/hdXIyiluDxc/discussion talks about mapping logs to programs and points out that running the apache program over the nginx logs is a waste of CPU. It really is. This bug acknowledges...
hi, thanks for mtail, looks really useful! Is reading from stdin something supported or considered? the use case I have in mind would be programs that don't log to file...
Details : Problem : Metrics are not getting exposed. Mtail version: mtail version v3.0.0-rc16 git revision 77eeba903db0ffd90e29c1ee778fdefb0112bfab go version go1.11 Filesystem: NFS Logs from the mtail: ``` I0325 01:19:17.267495 14907...
``` /^/ + /(?P\d{4})\/(?P\d{2})\/(?P\d{2}) (?P\d{2}:\d{2}:\d{2}) / + /.*/ + /$/ { getfilename() !~ /(error\.log)$/ { stop } hidden gauge time_rfc3339 time_rfc3339 = $year + "-" + $month + "-" +...
Hello! Could you tell me how can I switch off standart metric? For example: ` go_gc_duration_seconds{quantile="0"} 3.2901e-05 go_gc_duration_seconds{quantile="0.25"} 3.2901e-05 go_gc_duration_seconds{quantile="0.5"} 0.000144896 go_gc_duration_seconds{quantile="0.75"} 0.000144896 go_gc_duration_seconds{quantile="1"} 0.000144896 go_gc_duration_seconds_sum 0.000177797 go_gc_duration_seconds_count 2 `...
Hi! Wikimedia uses mtail for various purposes, including exposing varnish statistics. To do that, we've got a very simple shell script called [varnishmtail](https://gerrit.wikimedia.org/r/plugins/gitiles/operations/puppet/+/refs/heads/production/modules/varnish/files/varnishmtail). As you can see, the script boils...
We've been cutting 3.0.0-rc releases for 2 years. Maybe it's time to just cut the release and make 3.1.0 with new features. :smile:
Document is error . Which makes us unable to understand 