My existing syslog-ng PE 5 (yes, old) server uses multiple log statements to both write all logs locally, and also to relay some messages to external log scanning services in our enterprise.
The operator of one of these external relay destinations has requested we truncate each log message relayed to them down to a specific maximum length.
I don't want to reduce the global value for message length. I only want to limit the size sent to this one destination.
I assume this will be a switch or flag in a log statement. I've looked at the docs for rewriting rules and see nothing obvious.
How have you solved this issue?