So you get data from a beat (filebeat?) but don't want to push the events to elasticsearch/stdout if the path is /var/logs/messages? I would assume your beat should store the path in a field, e.g. "source". You can then use conditionals to only use the outputs if that path is not given:
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.