- 2 minutes to read

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


What is the Body formula?

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.


Syntax

  • body

The Body function does not require any parameters.


Examples: Input, Formula, and Result

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

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

body

Result

Nodinite message body content

Body
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.


Next Steps

Related Topics