Formula - Body
Easily extract the payload from your logged messages using the Body 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 the message payload for further processing ✅ Use with XML, JSON, or plain text data ✅ Simplify your integration and troubleshooting workflows
🎯 Design Note: The body
function provides direct access to the message payload stored in the Log Event.
What does the Body formula do?
The body
formula extracts the payload part from a Log Event. Use it to access the main content of your messages in log views and search fields.
Examples
Below are practical examples showing exactly what input is used, the formula expression, and the resulting output.
Example 1: XML Message Body
Input
<ns0:Orders xmlns:ns0="SupplyChain.Schemas/1.0">
<Order>
<Id>1337</Id>
<Amount>666</Amount>
<City>New York</City>
<Partner>QWNtZQ==</Partner>
</Order>
</ns0:Orders>
Formula Expression
body
Result
<ns0:Orders xmlns:ns0="SupplyChain.Schemas/1.0">
<Order>
<Id>1337</Id>
<Amount>666</Amount>
<City>New York</City>
<Partner>QWNtZQ==</Partner>
</Order>
</ns0:Orders>
Example 2: Plain Text Body
Input
Nodinite message body content
Formula Expression
body
Result
Nodinite message body content
The result is the full message body as stored in the log event.
Features
- Extracts all data from any text-based structure
- Works with XML, JSON, or plain text messages
- 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 the body formula
Syntax
body
The body function does not require any parameters.
Next step
Related Topics
- 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?
- Other Source formulas: context, contextKey, field