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

Ensure if host field is a String before using it as default subject #17

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open

Ensure if host field is a String before using it as default subject #17

wants to merge 1 commit into from

Conversation

patdowney
Copy link

When using Elasticbeats with add_host_metadata the host field is
a Hash not a String. Ensuring it's a String before using it as the
default subject value will prevent logstash from crashing.

Thanks for contributing to Logstash! If you haven't already signed our CLA, here's a handy link: https://www.elastic.co/contributor-agreement/

When using Elasticbeats with `add_host_metadata` the `host` field is
a Hash not a String. Ensuring it's a `String` before using it as the
default subject value will prevent logstash from crashing.
@jsvd jsvd self-requested a review November 27, 2018 22:23
@patdowney
Copy link
Author

Hi @jsvd - If it helps, I completed the CLA on 2018-11-22

@jsvd jsvd closed this Feb 5, 2019
@jsvd jsvd reopened this Feb 5, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants