You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 29, 2023. It is now read-only.
MDC fields contain various data types. String and numeric types are currently passed over GELF. When a field contains a numeric content (such as 42 or 12.34) the numeric value is parsed using Long.parseLong and Double.parseDouble to determine a parseable format.
Users of Graylog run into issues as soon as the data type of a particular field varies. logstash-gelf requires a possibility to specify fixed types to support Graylog > 1.2.x.
The type specification is not needed in most cases so it should be opt-in but once a type is set, it must be honored. A possible style to define types could be either:
MDC fields contain various data types. String and numeric types are currently passed over GELF. When a field contains a numeric content (such as
42
or12.34
) the numeric value is parsed usingLong.parseLong
andDouble.parseDouble
to determine a parseable format.Users of Graylog run into issues as soon as the data type of a particular field varies. logstash-gelf requires a possibility to specify fixed types to support Graylog > 1.2.x.
The type specification is not needed in most cases so it should be opt-in but once a type is set, it must be honored. A possible style to define types could be either:
mdcFields=Application,Version=long,SomeOtherFieldName=double,SomeOtherFieldName2=String
with colon:
mdcFields=Application,Version:long,SomeOtherFieldName:double,SomeOtherFieldName2:String
or
Types
long
double
String
Open points
double
but value isfadsfds
)?Reported by @kebers
The text was updated successfully, but these errors were encountered: