elasticsearch/logstash — pull request #1396 by coolacid (2014-05-20 23:27:48+00:00)
Title: Add access to HOSTNAME enviroment variable

$HOSTNAME is a bash specific variable, and not exported by default.

This PR will check to see if the BASH $HOSTNAME is available, otherwise set it using the hostname command.

Then, EXPORT this variable for access using the ENV filter.