Docker containers not connecting

For a little info I am using Docker with Docker-Compose for an ELK stack. I am trying to run the stack and everything from the ELK side seems fine but for some reason when trying to send logs through logstash to elastic search they dont make it and elastic search throws back (oui, unkown). The only thing I can think of is that somewhere either within docker or the system itself there are some rules blocking it from sending anything to elastic search. Has anyone experienced a similar issue where their containers are unable to work with eachother?

This is what the output I am referring to looks like

17:35:31.277611 ARP, Reply 172.17.0.2 is-at 02:42:ac:11:00:02 (oui Unknown), length 28