I don’t think it is possible with this format, it can’t be done with grok because of the dynamic number of fields, and logfmt does not support these delimiters. Any chance you could modify the format of the statuses?
Thank for your reply.
I found another workaround using processors.strings.replace provided from 1.9.x. This is RC version.
There is another problem. When I use processors.strings.replace, it doesn’t work basicstats aggregation plugin.
I’m not sure if this will fix it, but anytime you have more than one processor you will want to use the order option to control the order they are applied:
[[processors.strings]]
order = 1
# other options
[[processors.parser]]
order = 2
# other options
Processors plugins is no problem. Basicstats Aggregators plugin does not work as I thought.
Whenever appending one line to log file, I expect aggregator plugin works. But sometime it works, and sometimes not works.
Is there any limitation ? For example, minimum number of line for aggregating the data ?
Sorry, you’re right. There is some mistake on my test.
One more thing, can I change measurement name of metric modified by basicstats aggregators plugin?
This is because other collections work well with InfluxDB 0.11.1.
I do not think this is a problem with InfluxDB.
Telegraf is not updating nginx_stats_sum data.
However, as I said, I will check again after changing to the latest version of InfluxDB.
Have a nice day.