Formula - Field
Easily extract values from named fields in your log events using the field Formula in Nodinite. This page provides clear, real-world examples with a new, easy-to-read layout that separates input, formula, and result.
✅ Instantly extract values from pre-defined fields in log events
✅ Use with any supported field name, including MessageGUID, EventId, and more
✅ Simplify your integration and troubleshooting workflows
What is the field formula?
The field
formula extracts the value from a named field in a Log Event. Use it to access key metadata and message properties in log views and search fields.
Syntax
field('Name')
The field function requires the name of the field (case-sensitive) as a parameter.
Examples: Input, Formula, and Result
Below are practical examples showing exactly what input is used, the formula expression, and the resulting output.
Example 1: Extracting MessageGUID
Input
MessageGUID = ca8e3ab5-7359-4726-a9ca-1f594a4190a1
Formula
field('MessageGUID')
Result
ca8e3ab5-7359-4726-a9ca-1f594a4190a1
Here's an example of Field values from the search field wizard modal.
Example 2: Extracting EventId
Input
EventId = 123e4567-e89b-12d3-a456-426614174000
Formula
field('EventId')
Result
123e4567-e89b-12d3-a456-426614174000
Here's an example of extracting a value from a Field using the search field wizard.
Features
- Extract the value from any named pre-defined field of a Nodinite Log Event
- Supports all standard fields, including ApplicationInterchangeId, EventId, MessageGUID, and more
- You can nest this operation with other formulas
- Ideal for integration analytics and troubleshooting in Nodinite
Important: This plugin loads the entire message into RAM. For best performance, use it only on small messages.
How to use
To configure the Formula plugin with the field function:
- Select Formula as the expression type plugin.
- Write the expression to use in the 'Expression' text area with the named Field to extract, for example,
field('MessageGUID')
. - The Fields and the Field Values are displayed in the Field Values tab.
- The result is displayed.
Supported Field Names
Name | Description |
---|---|
ApplicationInterchangeId | Id for Application scope |
EndPointDirection | Endpoint Direction |
EventDirection | EventDirection |
EventId | Id of event (Guid) |
LocalInterchangeId | Id for local scope |
LogDateTime | The originating date time for the Log Event |
MessageGUID | The Id of the main body part (Guid) |
OriginalMessageTypeName | The name of the Message Type |
TotalSize | Size in bytes |
Next Steps
Related Topics
- Body - Extract body from the Log Event
- Context - Extract value from key-value collection
- ContextKey - Extract value from the key-value collection using RegEx
- 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?