- 1 minutes to read
Formula - Context
Use the context
Formula function to extract values from the Context part (key/value) of a Log Event. For example, the context part can be HTTP Headers, Tracked properties (Logic Apps) or Context properties (BizTalk).
Quick example
Let's get you started with the following example:
Input | Expression | Result |
---|---|---|
|
|
|
Text Data | Context | Unique values |
Features
- Extracts all data from any text-based structure in the key-value collection
Important
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:
- Select Formula as the expression type plugin.
- Write down the expression to use in the 'Expression' text area with the named Key to extract
Context('Correlation Id')
- The Context Values are displayed in the Message Context tab
- The result is displayed
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
Related
- Body - Extract body from the Log Event
Expression Type Plugins are used in Search Fields
What are Search Fields?
What are Search Field Expressions?
What are Message Types?
What are Log Views?