I have filebeat running in GCP cluster and I am trying to send the logs to my Kafka in DC. I see in the logs that it was able to make a connection to Kafka. I configured the filebeat.yml with kafka output using the IP address since GCP is not able to resolve the Kafka hostname.
I also updated the Kafka server.prop with the advertised.listeners using the IP address to make sure Filebeat can connect to it. However, no logs in Kafka. No errors in filebeat as well, and I can see that filebeat is harversting logs.
Also, I tried to run the same setup using Docker locally on my mac and I was able to see the logs.