Filebeat not sending docker logs to logstash after enabling x-pack security features

Please help me in this i've been trying to create a user in ELK after enabling the x-pack security feature in my elasticsearch.yml file. The docker container logs are not syncing in kibana after i enable the security feature, If i disable the x-pack the logs are syncing again.

This is the log i get in filebeat.
"filebeat.service: Failed with result 'exit-code'."
"Failed to start Filebeat sends log files to Logstash or directly to Elasticsearch"

Please let me know you need anything else.