- 1 minutes to read

Formula - Context

The context Formula function extracts the payload part from a Log Event.

Quick example

Let's get you started with the following example.

Input Expression Result
Correlation Id = demo001
  

Context('Correlation Id')

demo001
Text Data Context Unique values

Features

  • Extracts all data from any text-based structure in the key-value collection

This plugin loads the entire message into RAM, so make sure to apply this function only on small messages..

How to use

To configure the Formula plugin with the Context function:

  1. Select Formula as the expression type plugin.
  2. Write down the expression to use in the 'Expression' text area with the named Key to extract Context('Correlation Id')
  3. The Context Values are displayed in the Message Context tab
  4. The result is displayed

Context

Syntax

The Context function has the following parameter

  • Context('MessageContextKeyName')

Next Step

How to Add or manage Search Fields
How to Add or manage Log Views