Exclude ip range in logstash processing

Good morning, I am facing a big problem regarding the processing of the logstash, it is processing ips like 0.0.0.0 broadcast and multicast, would I have to eliminate these ips in the process?

I appreciate the help?