Skip to main content

Search Large Messages

When collecting log messages or event logs that are larger than 64KB 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.

Query to Identify Truncated LogsĀ ā€‹

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 64K or 65536 bytes.

To find truncated logs you can reference the _size metadata tag, an example would be using the where operator.

| where _size = 65536

Status
Legal
Privacy Statement
Terms of Use

Copyright Ā© 2024 by Sumo Logic, Inc.