Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make host field configurable #10

Open
tokred opened this issue May 12, 2016 · 0 comments
Open

Make host field configurable #10

tokred opened this issue May 12, 2016 · 0 comments

Comments

@tokred
Copy link

tokred commented May 12, 2016

We use heartbeat inputs to monitor the availability of our Logstash instances.

Unfortunately, the host field is automatically set to the FQDN hostname via Socket.gethostname. Depending on the environment, it may be desireable to change this, e.g. to a certain IP for machines with multiple interfaces, or to only the host part of FQDN, etc. Current workaround is to tag heartbeat messages and apply a mutate filter in Logstash config.

Please expose the host field via configuration parameter in order to allow setting a custom value. Big thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants