Doubts about how exclude events by the process name with filebeat

I found the solution here:
https://discuss.elastic.co/t/beats-filebeat-metricbeat-etc-log-to-syslog-with-logging-to-syslog-false/179085/2
Basically i will not pollute the var/log/messages*