Extending SYSLOG message/character limit

Document ID : KB000016355
Last Modified Date : 14/02/2018
Show Technical Document Details
Question:

How do I extend SYSLOG message/character limit.  

By default, SYSLOG is not configured to accept more than 2048 characters.

Environment:
CA APIM : 8.X, 9.X running on any form factors
Answer:

Here's the two steps to be done for writing more than 2048 characters to SYSLOG:

 

1. On the Gateway, add com.l7tech.server.log.syslog.maxLength system property into /opt/SecureSpan/Gateway/node/default/etc/conf/system.properties file with the desired length (max length is 65536)

 

Restart the gateway

 

2. On the SYSLOG Server request the respective SYSLOG Admin to add the below line into collector.properties config file and then restart the collector.

 

collector.syslog.udp.readBufferSize = 65535

 

 Now try writing more than 2048 characters into SYSLOG from API Gateway, it should work.