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

Rename protocol to ProtocolName; the former is already used #2

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

Conversation

ltning
Copy link

@ltning ltning commented Dec 8, 2023

This change allows TCP and UDP to be correctly processed by the GELF input.

Previously, the 'protocol' field was used by lower-level protocols, causing errors in graylog:

[136]: index [graylog2_1590], type [_doc], id [91994481-95ee-11ee-84f1-02ce55e8ca0b], message [ElasticsearchException[Elasticsearch exception [type=mapper_parsing_exception, reason=failed to parse field [protocol] of type [long] in document with id '91994481-95ee-11ee-84f1-02ce55e8ca0b'. Preview of field's value: 'TCP']]; nested: ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=For input string: "TCP"]];]

This change allows TCP and UDP to be correctly processed by the GELF input.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant