No additional logif when user/pass given but port not given, resulting in extra colon in the URI to elastic and breaking functionality.
Also, since the bitnami stack for ELK has elasticsearch exposed via /elasticsearch on the 80 port, adding port 80 results in /elasticsearch:80 instead of :80/elasticsearch, breaking all of the endpoints. As bitnami is set to port 80 on default, adding this fix also neatly fixes the issue for anyone trying to use default bitnami settings.
No additional logif when user/pass given but port not given, resulting in extra colon in the URI to elastic and breaking functionality.
Also, since the bitnami stack for ELK has elasticsearch exposed via /elasticsearch on the 80 port, adding port 80 results in/elasticsearch:80 instead of :80/elasticsearch, breaking all of the endpoints. As bitnami is set to port 80 on default, adding this fix also neatly fixes the issue for anyone trying to use default bitnami settings.