Ok, let's isolate the different pieces:
- Can you run filebeat in debug mode and check if logs are collected from
apache
logs' directory? Btw, do you enable apache module? In the config you sent (filebeat.yml) it's not clear if you actually enable any modules. - If filebeat is properly configured and is able to collect logs from apache then we need to check if it is able to send the events to Logstash. In this you will need to check in Filebeat's/Logstash's logs to check if any errors occur (mostly network errors).
Let's start with these steps and keep iterating on this.