Correct, that is currently not supported, I've opened an issue in the telegraf repo to add that: https://github.com/influxdata/telegraf/issues/1984
On Friday, October 28, 2016 at 1:04:50 PM UTC+1, Olivier Arsac wrote: > I may be missing something but I can t find a way to add my own static fields > when a pattern matches. > (add_field for grok) > > > eg: If I match a /var/log/messages line logged by the OOM killer I want > logparser to output a line with the event timestamp and my own static string > tag "event=oom". > > > > I could use the measurement name to fake taht but I feel there must be a > cleaner way to do it. > > > > > Thank you for your help. -- Remember to include the version number! --- You received this message because you are subscribed to the Google Groups "InfluxData" group. To unsubscribe from this group and stop receiving emails from it, send an email to influxdb+unsubscr...@googlegroups.com. To post to this group, send email to influxdb@googlegroups.com. Visit this group at https://groups.google.com/group/influxdb. To view this discussion on the web visit https://groups.google.com/d/msgid/influxdb/47967d8f-11d4-4cd4-be29-b530a71e32dd%40googlegroups.com. For more options, visit https://groups.google.com/d/optout.