[collectd] supported regex patterns for extraction from curl response

Dave Cottlehuber dch at skunkwerks.at
Wed Jan 4 13:00:45 CET 2017


On Wed, 4 Jan 2017, at 12:46, Dave Cottlehuber wrote:
> Ahoy,
> 
> I'm trying to slurp response from curl and capture the value of 2
> specific keys in the response:

Of *course* I find the answer after sending the email:

      Regex "^db_total_count[[:space:]]+([[:digit:]]+)"

https://www.freebsd.org/cgi/man.cgi?query=re_format&sektion=7

A+
Dave



More information about the collectd mailing list