Log the Payload and Context
Section titled “ Log the Payload and Context”You don't know the truth until something goes wrong, and by then it's too late to start logging. The question that matters on the bad day ("which orders had this product?", "what did we actually send?") is rarely the one you planned for. When every Log Event carries the message body and its context, Nodinite can answer questions nobody asked at go-live.
- ✅ Keep the evidence: the exact message that was sent or received
- ✅ Add a new Search Field months later and find it in messages already logged
- ✅ Let support read, render, and resend messages without access to the platform
Understanding Re-indexing
Section titled “ Understanding Re-indexing”with body and context"] --> New["fa:fa-plus New Search Field
Purchase Order Number"] New --> Reindex["fa:fa-rotate Re-index
per Message Type"] Reindex --> Found["fa:fa-magnifying-glass Every historical
order searchable"] style Logged fill:#3F827B style New fill:#2678BD style Reindex fill:#E47528 style Found fill:#93d16d
Events logged with body and context (teal) can be processed again: a new Search Field (blue) and a re-index of its Message Types (orange) make the new value searchable in every message still kept (green). Without a body, there is nothing to re-index.

Re-indexing is chosen per Message Type, so only the formats that changed are processed again. How it runs, and how to plan a large one, is in Add or manage Search Field.
What Each Part Gives You
Section titled “ What Each Part Gives You”| You log | Users can | Without it |
|---|---|---|
| Event details only | See that something happened, when, and with what status | ❌ No business search, no evidence |
| + Context | Search on the values you put there, such as an order number or a file name | ⚠️ Only the questions you thought of at go-live |
| + Body | Search on anything in the message, now or after a re-index; read it as a document with a Stylesheet; resend it | ✅ Nothing missing |
Context values are cheap to extract and great for the keys you know. The body is the truth. Log both.
Rules for Payload and Context
Section titled “ Rules for Payload and Context”- ✅ Log the body at every hop where the message changes: received, transformed, sent
- ✅ Put the business keys in the context as well, such as the Order Id; see Correlate Transactions End to End
- ✅ Set a versioned Message Type on every event (
Orders.Received/1.0): Search Fields, re-index, retention, and statistics all work per Message Type - ✅ Use the encoding the message really has, or set it on the Message Type; see Character Encoding
- ⚠️ Very large bodies: the Logging Service does not process a body above MessageProcessingMaxBodySize (250 MB by default); such events get the Processing State Failed
- ⚠️ Sensitive data: limit who can see them with Log Views per Role, keep them briefly with retention per Message Type, and know that opening a body is recorded in Log Audit Search
Frequently Asked Questions
Section titled “ Frequently Asked Questions”Isn't logging every body expensive?
Section titled “Isn't logging every body expensive?”Storage is cheaper than an unsolved incident. Keep high-volume formats for a short time and audit-relevant ones for years: Nodinite sets retention per Message Type. See Plan Volume and Retention.
How do I extract an Order Number from a message I have already logged?
Section titled “How do I extract an Order Number from a message I have already logged?”Open the message body, start the Search Field Wizard, add a Search Field with an expression for the order number, and click Reindex at the end. Then add the Search Field to your Log View's search criteria.

Animated walkthrough: a Log View that searches on the customer only gets a new Search Field for the order number, and then finds orders logged before that Search Field existed.
- In the Log View, search on the customer, such as
CUST-001in O2C - Customer ID. The orders are logged with their body, but there is no order number to search on. - Open the Action menu of an order and open its body. The order number is in the body, as
orderId. - Click Search Field Wizard. The event's Message Type, such as O2C.Order.Received/1.0, is picked for you. Choose New Search Field and name it, such as Contoso: Order Number.
- Click Next, read the value from the body with JSON Path, and type the expression
$.orderId. The wizard shows the value it finds, such asORD-10007. - Click Next to the summary, then Save, and then Reindex. The reindex runs in the background over the events already logged for this Message Type.
- Add the Search Field to the Log View's search criteria (Default search setup).
- Search on the order number, such as
ORD-10007. The Log View finds the orders logged before the Search Field existed.
See How do I extract business data like Order Numbers? and Re-Indexing by Message Type.