SumoLogic / sumologic-collector-docker

A Sumo Logic collector for Docker.
Apache License 2.0
69 stars 55 forks source link

Update run.sh #79

Closed maimaisie closed 5 years ago

maimaisie commented 5 years ago

Add support for overwriting collector hostname in the collector container deployment step. This is to fix the issue reported in https://github.com/SumoLogic/sumologic-collector-docker/issues/77. Currently if the hostname is not provided, the host name of the collector container which is the container ID is used, which is not ideal.

If supplied, it will use the supplied value. If not, it defaults to the hostname of the container (which is the current behavior). I verified the happy paths and both works. Depending on QE availability to verify this change, it can go out with collector release 3.1 or 4