The examples in this post is now slightly outdated. For the new " grok_custom_patterns" format, see this update I wrote after not getting above 2017 examples to work in 2020 Telegraf: Custom log parsing with latest Tail Plugin, GROK and InfluxDB configuration