Plan Volume and Retention
Section titled “ Plan Volume and Retention”Logging everything forever swamps any database; logging too little leaves you blind on the bad day. The way out is to measure first and then decide per format: keep the high-volume heartbeat messages for days, and the orders and invoices auditors ask about for years. Nodinite sets retention per Message Type, with no quotas, so the decision is yours, not the product's.
- ✅ Know the real volume per format before you go to production
- ✅ Keep each format exactly as long as it is worth
- ✅ Keep the traffic statistics, whatever you delete
Understanding Volume and Retention
Section titled “ Understanding Volume and Retention”in test"] --> Stats["fa:fa-chart-bar Read the statistics
per Message Type"] Stats --> Decide["fa:fa-scale-balanced Decide days to keep
per Message Type"] Decide --> Clean["fa:fa-broom Logging Service
removes older data"] style Measure fill:#2678BD style Stats fill:#2678BD style Decide fill:#E47528 style Clean fill:#3F827B
Measure (blue) before you decide (orange); the Logging Service (teal) then removes events, context, and bodies older than each Message Type allows, and new Log Databases are created as the online one grows.
Step 1: Turn Everything On in Test
Section titled “Step 1: Turn Everything On in Test”You can't plan a volume you haven't seen. In test, or in a production pilot, log everything for a week of normal business:
- BizTalk Server: enable tracking on every port, orchestration, and pipeline, with message bodies. Use Tracking in a Monitor View, which is audited and needs no BizTalk administrator rights, or the PowerShell script in Recommendations for BizTalk Logging, which also tunes the BizTalk tracking database.
- Other platforms: turn on logging in every integration, with bodies and context; see Log from Your Integration Platform.
- Azure Logic Apps: the exception. Measure with the Logging filters you'll use in production, not with an empty filter: logging every Action runs into Azure's API limits at high volume. See Log Logic Apps at Scale.
You can always log less later. Logging that was never on can't be turned on for last month.
Step 2: Read the Statistics
Section titled “Step 2: Read the Statistics”
Animated walkthrough: sort the Message Types on body size, then open one's Statistics tab for its number of events.
- Open Administration > Message Types, and filter on the formats you measure, such as
O2C. - Click Max Body Size twice to sort the biggest bodies first.
- Open the Message Type, such as O2C.Order.Received/1.0, and select the Statistics tab.
- Open Information: First Event, Last Event, Number of Events, Max Body Size, and Max Recent Body Size, each with Reset.
- The chart and table below show the number of events per Endpoint, with each Endpoint's first and last event.

The Statistics tab of a Message Type: events per Endpoint over time, with each Endpoint's first and last event and total count.
Nodinite keeps perpetual traffic statistics for every Message Type and every Endpoint, with no setup:
- The Message Type statistics show how much of each format travels, and where. The list of Message Types has no event count: sort it on Max Body Size to find the formats with the biggest bodies, then open a Message Type's Statistics tab. Information gives its Number of Events, and the table its events per Endpoint.
- The Endpoint statistics show which formats pass each channel.
- The Dashboard shows the number of Log Events per day, so a sudden rise or drop stands out.
The statistics also answer the questions after go-live: is the old Endpoint quiet yet, does anyone still send version 1.0, how many orders did we get last quarter.
Step 3: Set Retention per Message Type
Section titled “Step 3: Set Retention per Message Type”Each Message Type has three Days to keep values on its Retention tab: for events, for context, and for bodies. Keep the event longer than the body: the event proves that something happened, the body what. Add or manage Message Type shows where to set them.

Animated walkthrough: keep the events of an order format for two years and its bodies for a month.
- Open the Message Type. The Retention tab's header shows the days for events, context, and bodies, such as 365 for each.
- On the Retention tab, set Days to keep Events to
730and Days to keep Bodies to30. - Click Save. The tab header now reads 730, 365, and 30.
| Format | Typical choice |
|---|---|
| Heartbeats, polling, status pings | Events for days, no bodies |
| Orders, invoices, and other business documents | Events and bodies as long as audit or law requires, often years |
| Sensitive data, such as personal data | Bodies as short as the business allows |
| Debug and trace events | Days |
New Message Types get their values from the System Parameters: DaysToKeepMessageEventsDefault, DaysToKeepMessageContextDefault, and DaysToKeepMessageDataDefault. Error events with no body follow DaysToKeepErrorEventsWithoutData. Set these defaults before go-live, so a new format doesn't keep data longer than you meant.
Step 4: Plan the Log Databases
Section titled “Step 4: Plan the Log Databases”Nodinite stores the events in Log Databases and starts a new one when the online database reaches SizeToSplitDatabaseOn or DaysToSplitDatabaseOn, so no single database grows without limit. Size the SQL Server for the volume you measured and the retention you chose; see System Parameters for Log Databases. In Azure, see Azure Costs for Blob Storage and Event Hub for the intermediate storage.