Filebeat multiple input log files with condition

Most likely your configuration file is not correct. Take a look at different example of multi-input setup: Multiple Filebeat inputs with logstash output