O365 get tenant authen token through proxy

Hi all.
I have been trying to get o365 log using filebeat and there is apear to be a problems,
the current filebeat that i am ussing need to get the authentication token but our serrver are put behind a proxy, is there a config to setup the proxy for the modules or is there a way to input the token by hand.

Thanks you for your time.