Logstash Plugin

It is not possible, the logstash has a http_poller plugin, but this plugin needs to be configured with the authentication token, it cannot make a request to get the authentication token.