How do I write a processor plugin by myself?
New processors must be added to
libbeat/processors. A processor has to register itself in the
init function. It also needs to implement
Run which does the transformation of the event. An additional
String function is required which is used during logging.
A simple example can be found here: https://github.com/elastic/beats/blob/master/libbeat/processors/add_host_metadata/add_host_metadata.go
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.