What is the max size of a message in the Message Logging Policy

Not applicable

Our core APIs are using Apigee Edge MessageLogging policy to send messages to Splunk.

Is there any limitation for the policy?

Solved Solved
0 4 1,161
2 ACCEPTED SOLUTIONS

Not applicable

Great information on this topic is at: Message Logging Policy

In short, a message buffer is utilized to stream the message to the target. This buffer is by default 128kb. So long as this buffer doesn't overflow the limit is really what your log target can support.

For on premises customers the size of this buffer is configurable.

View solution in original post

Not applicable

For on premises customers the following usage notes may be helpful (from the documentation linked above):

"If the write rate to the buffer increases beyond the read rate, the buffer overflows and logging will fail. If you encounter this issue in an on-premises deployment of Edge, locate the message-logging.properties and use this solution:

Increase the max.log.message.size.in.kb property (default value = 128 KB) in the message-logging.properties file."

View solution in original post

4 REPLIES 4

Not applicable

Great information on this topic is at: Message Logging Policy

In short, a message buffer is utilized to stream the message to the target. This buffer is by default 128kb. So long as this buffer doesn't overflow the limit is really what your log target can support.

For on premises customers the size of this buffer is configurable.

@David Allen - is this configuration setting documented?

Not applicable

For on premises customers the following usage notes may be helpful (from the documentation linked above):

"If the write rate to the buffer increases beyond the read rate, the buffer overflows and logging will fail. If you encounter this issue in an on-premises deployment of Edge, locate the message-logging.properties and use this solution:

Increase the max.log.message.size.in.kb property (default value = 128 KB) in the message-logging.properties file."

David - thanks for highlighting this!