Skip to content
Documentation
Updated 5 minutes to read
Markdown

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
flowchart LR Measure["fa:fa-toggle-on Turn everything on
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.

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:

You can always log less later. Logging that was never on can't be turned on for last month.

Find the Message Type with the biggest bodies and read its number of events, animated walkthrough (7.13)
Animated walkthrough: sort the Message Types on body size, then open one's Statistics tab for its number of events.

  1. Open Administration > Message Types, and filter on the formats you measure, such as O2C.
  2. Click Max Body Size twice to sort the biggest bodies first.
  3. Open the Message Type, such as O2C.Order.Received/1.0, and select the Statistics tab.
  4. Open Information: First Event, Last Event, Number of Events, Max Body Size, and Max Recent Body Size, each with Reset.
  5. The chart and table below show the number of events per Endpoint, with each Endpoint's first and last event.

Statistics tab of a Message Type with events per Endpoint (7.13)
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.

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.

Set days to keep events and bodies on the Retention tab of a Message Type, animated walkthrough (7.13)
Animated walkthrough: keep the events of an order format for two years and its bodies for a month.

  1. Open the Message Type. The Retention tab's header shows the days for events, context, and bodies, such as 365 for each.
  2. On the Retention tab, set Days to keep Events to 730 and Days to keep Bodies to 30.
  3. 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.

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.

...

Version:
Release date: N/A
Loading...

Explore Nodinite for 30 days – completely free

  • Find out why this is the leading O&M software
  • Prove your business case
  • Test the self-service for the business side

Loading...

See how Nodinite resolves your technical issues, in a LIVE Demo!

Once you submit this request:

  • We will give you a short call to understand the issues you want to tackle.
  • Understand solutions you have tried and why were you not happy with them.
  • Book a convenient slot for a LIVE demo!

Loading...