The session context adds critical session data to your logs. A session if defined by your application. In most applications this is stored in a cookies and expires after a given amount of time. It allows you to identify users regardless if they explicitly authenticate or not.

Example JSON Structure

{
  "context": {
    "session": {
      "id": "abcd1234"
    }
  }
}

Field descriptions

Name Type Description
id string The unique identifier of the current session. required, max-length: 255

Using this data

Example queries:

  • Full path: context.session.id:abcd1234
  • Short path: session.id:abcd1234 - Short paths are aliases allowing for simpler access to these fields.
  • Only this event: has:session

See our doc on using context & event data.

Questions? Need help?

Chat with us, just click the talk button in the bottom right of this page.

Chat with us

Start a trial - 15 days free

Log better and solve problems faster, today. Less than 1 minutes to install.

Start a trial