[collectd] Does collectd's regex match end of a line?

Denis Melnikov mdb65 at tu.komus.net
Mon Aug 2 17:15:48 CEST 2010


Hi, all!
Using tail plugin I want to speed up regex matching via anchoring to
end-of-line with '$'.
But as I can see, the plugin evaluates '$' sign as something else, maybe
literal '$'.
Is it possible to use '$' sign as anchor to end-of-line?
I.e.:

Regex " 200 ([0-9]+\\.[0-9]+)$"

(This is response time for successful requests (HTTP/200) to nginx)

Sincerely,
Denis





More information about the collectd mailing list