Logstash docker cannot log into elasticsearch docker

Try to change role to superuser just temporary.

Is there anything in roles.yml?

Have you checked elasticsearch logs? Should be some traces there

I have found a solution which is a little bit strange. You may try it, but I'm a sceptic.