Logging Request with HTTP LOG - elasticsearch

Hi everyone,
How do I set the authentication on HTTP-LOG Plugin?
I’m trying to send the logs to elasticsearch instance witch has authentication enabled.