New

The executive guide to generative AI

Read more
Loading

Error fields

Elastic Stack Serverless

These fields can represent errors of any kind.

Use them for errors that happen while fetching events or in cases where the event itself contains an error.

Field Description Level
error.code Error code describing the error.

type: keyword
core
error.id Unique identifier for the error.

type: keyword
core
error.message Error message.

type: match_only_text

OTel Badge equivalent exception.message
core
error.stack_trace The stack trace of this error in plain text.

type: wildcard

Multi-fields:

* error.stack_trace.text (type: match_only_text)

OTel Badge equivalent exception.stacktrace
extended
error.type The type of the error, for example the class name of the exception.

type: keyword

example: java.lang.NullPointerException

OTel Badge match error.type
extended