Required Schema for Mezmo Log Analysis Destination

If you choose to restore data to the Mezmo Log Analysis Destination, it must conform to the schema shown in this topic.

This schema is what appears in the message property within the Pipeline. The contents of message is what is sent to the archive.

Primary Fields

Field NameDescription
_line(required) This is the content of the log line to be displayed in the collapsed line viewer.
_ts(required) The epoch timestamp.
_logtype

Helps lineviewer decide which renderer to use when line is expanded.

Valid values are customapp, json, meta, combinedapachelog, commonapachelog, github, mongo3log, redis3log, heroku_line, heroku_router

levelIndicates the level of severity and it displayed in the collapsed line.
_labelJSON Object containing the key and values of labels appearing as yellow chips under LABELS in expanded view.
_tagJSON Object containing the key and values of tags appearing as purple chips under TAGS in expanded view.
_rawlineThis is usually the entire raw line. If set is displayed just above line identifiers.
_metaJSON Object of metadata fields and values. If _logtype is meta, these values will be displayed in a special section at the top of the expanded view.

Line Identifier Display Names for Fields

This table shows the display name for fields as they appear in the Line Identifiers expanded view.

FieldLine Identifiers Display Name
_hostAlso known as Source. Displayed as a chip in Line Identifiers, and in the color orange in the collapsed line view.
_appDisplayed as App in Line Identifiers, and in the color blue in the collapsed line view.
_fileFile
orgOrganization
envEnv
dynoDyno
podPod
containerContainer
namespaceNamespace
nodeNode
containeridContainer ID
k8sclusterkeyCluster

Line Metadata Display Names for Fields

This table shows the display name for fields in the Line Metadata expanded view.

FieldLine Metadata Display Name
mezmo_line_sizeLine size (bytes)

Custom Fields

Additional fields and objects will be displayed at the top of expanded view as long as _logtype is either meta or json.

Example Minimum Required JSON

JSON
Copy

Example of More Complex JSON

JSON
Copy
Type to search, ESC to discard
Type to search, ESC to discard
Type to search, ESC to discard
  Last updated