Hey, I'm trying to define a processor in the system module just for syslog to drop certain spammy, non-relevant events. But when I define a drop_event I get an error about a processor having multiple actions: #011ERROR#011fileset/factory.go:105#011Error creating input: each processor must have exactly one action, but found 2 actions (add_locale,drop_event)
This error can be a side effect of having processors predefined in modules. This add_locale processor is used by default, but your config tries to override it. Could you try to include this processor in your config? It would be something like this:
Another option you have is to define your drop_event processor in the main configuration file of filebeat, but then you have to take into account that the processor would be applied to all events generated.
Adding the "add_locale" to the processors does the job, thank you!
Another thing I noticed is that this error was not picked up when doing a "filebeat check config". That threw me for quite the loop since it went through our CI due to that when it really shouldn't have.
Yeah, probably filebeat considers this configuration correct, so config checks work, but later it cannot instantiate the pipelines because of the conflict with the predefined processors.
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.