log4net.ElasticSearch icon indicating copy to clipboard operation
log4net.ElasticSearch copied to clipboard

Fix bug for URI creation when Port not given

Open interpolarity opened this issue 5 years ago • 0 comments
trafficstars

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.

interpolarity avatar Jun 12 '20 08:06 interpolarity