| id | search-large-messages |
|---|---|
| title | Search Large Messages |
| description | When collecting log messages or event logs that are larger than 256KB in size, Sumo Logic slices the messages into a stream of smaller message chunks. |
When collecting log messages or event logs that are larger than 256KB in size, Sumo Logic slices the messages into a stream of smaller message chunks.
Chunks are ideally created at a line break depending on the Source type, protocol, and size of the message. Each section of the large messages is annotated with metadata to keep the message in order when viewing or searching the log.
See Collecting Multiline Logs for information on caveats and your configuration options.
For additional information on collecting large messages review the relevant Source's documentation.
Some Sumo Logic platform features handle messages larger than 64KB differently, and alert notifications sent to downstream tools like Slack and Jira Cloud can hit character limits of their own. See Known limitations for details.
We have a metadata tag called _size. The _size metadata tag provides the size of the log message in bytes. A log is truncated at the size of 256K or 262144 bytes.
To find truncated logs you can reference the _size metadata tag, an example would be using the where operator.
| where _size = 262144
Keep the following limitations in mind when you work with messages larger than 64KB.
These features process large messages differently within Sumo Logic itself:
- LogCompare and LogReduce. These operators truncate raw 256KB messages to 64KB before matching and grouping the logs into signatures, so content beyond 64KB is not considered. This can also affect response time when you run them against large messages. Learn more in LogReduce and LogCompare.
- Log Search messages table. The messages table displays up to 64KB of a message, even after you expand it. To view a complete message larger than 64KB, use the Log Message Inspector.
- Cloud SIEM. Parsing and mapping might not process messages larger than 64KB correctly.
- Field Extraction Rules. The cumulative size of all fields extracted by a rule for a message is limited to 64KB, regardless of the message size. Learn more in Field Extraction Rule limitations.
Alert notifications sent to these tools can also be affected by character limits that are fixed by the tool itself, independent of Sumo Logic's message size. Larger messages make these limits more likely to be reached:
- Slack webhook connections. Slack has a hard limit of 40,000 characters per message. Content beyond this limit, such as a large
{{ResultsJson}}value, is truncated with "…" in the notification. Learn more in Known limitations. - Jira Cloud webhook connections. The Jira Cloud issue description field has a hard limit of 32,767 characters. A payload variable such as
{{ResultsJson}}that exceeds this limit returns a400 Bad Requesterror. Learn more in Known limitations.