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

Invert "add beats prefix" option (#5537) #5542

Merged
merged 1 commit into from
Jan 17, 2019
Merged

Conversation

mpfz0r
Copy link
Contributor

@mpfz0r mpfz0r commented Jan 17, 2019

This option was added to keep the Beats backwards compatible.
Later it was decided to fork the Beats input altogether,
so we don't have to worry about breaking compatibility.

Therefore invert and enable the Beats prefix option by default
on the new input.
Having the prefix avoids field collisions.
One example is that filebeat would fill the source field to the
filename, not to the hostname, which is more Graylog like.

(cherry picked from commit c06363b)

This option was added to keep the Beats backwards compatible.
Later it was decided to fork the Beats input altogether,
so we don't have to worry about breaking compatibility.

Therefore invert and enable the Beats prefix option by default
on the new input.
Having the prefix avoids field collisions.
One example is that filebeat would fill the `source` field to the
filename, not to the hostname, which is more graylog like.

(cherry picked from commit c06363b)
@mpfz0r mpfz0r added this to the 3.0.0 milestone Jan 17, 2019
@mpfz0r mpfz0r requested a review from bernd January 17, 2019 14:42
@bernd bernd self-assigned this Jan 17, 2019
@bernd bernd merged commit b677508 into 3.0 Jan 17, 2019
@bernd bernd deleted the invert-beats-prefix-option-3.0 branch January 17, 2019 15:16
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.

2 participants