At the moment I don't see any way to (dynamically) add a numeric field (with a number, not with a string value) to a message logged through logback-gelf. This would be great to have, because it would allow us to filter, graph etc. these messages in graylog based on that numeric value (e.g. "only warnings for messages where _size > 500"). The MDC seems to be of no help, because it only takes String values for each key.
Any ideas if this is even remotely possible?
At the moment I don't see any way to (dynamically) add a numeric field (with a number, not with a string value) to a message logged through logback-gelf. This would be great to have, because it would allow us to filter, graph etc. these messages in graylog based on that numeric value (e.g. "only warnings for messages where _size > 500"). The MDC seems to be of no help, because it only takes String values for each key.
Any ideas if this is even remotely possible?