- 2 minutes to read

Formula - Body

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

Quick example

Let's get you started with the following example:

Input Expression 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>


Body


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

Text Data Body Unique values

Features

  • Extracts all data from any text-based structure.

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 Body function:

  1. Select Formula as the expression type plugin.
  2. Write down the expression to use in the 'Expression' text area Body
  3. The payload is displayed in the Message Body tab
  4. The result is displayed

Body

Syntax

The Body function does not have any parameters.

Next Step

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