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 [email protected].
To post to this group, send email to [email protected].
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/e4807015-502d-4ffa-b4b3-2181ff4a0d06%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to