Add or manage Message Type
Section titled “Add or manage Message Type”Message Types are the foundation that enables format-independent search across your integration landscape. This guide shows you how to create, configure, and optimize Message Types to unlock powerful search capabilities.
What you'll achieve
Section titled “What you'll achieve”- ✅ Create Message Types for XML, JSON, EDI, flat files, and custom formats
- ✅ Bind Search Field Expressions to extract searchable values from specific formats
- ✅ Configure retention policies for events, context, and message bodies
- ✅ Set the character encoding messages of this type use
- ✅ Document with custom fields and metadata for governance
- ✅ Analyze traffic patterns and endpoints for operational insights

Animated walkthrough: Add Message Type, name it, set the three retention values on the Retention tab, and Save. The tab header then shows Events 90, Context 30, and Bodies 14.
You can create a new Message Type, edit, or delete an existing one from the Message Types Overview; Manage Message Types has every step. New 7.12 Permanently deleting a Message Type unbinds the C4 connector Flows that carry it: they stay on their diagrams without a Message Type.
A Message Type can have the following relationships:
You will see the Search Field Expressions from user-defined Search Fields in read-only mode.

The General tab of a new Message Type, with Character encoding preset to UTF-8 (without BOM) and a card per relation on the right.
Basic data fields
Section titled “Basic data fields”- You must provide a unique Name to create the Message Type.
- Description: Optionally, add a user-friendly description.
- Web Site: Optionally, provide a quick link for end-users, such as a WIKI or SharePoint site with additional documentation.
- Tags: New 7.12 Add Tags to label the Message Type. Find it later with Filter on Tag in the list, and tag many at once with With Selected > Manage Tags.
- Character encoding: The character encoding that messages of this type use. The default is UTF-8 (without BOM). New 7.11
Character encoding
Section titled “ Character encoding”Select the Character encoding that messages of this Message Type normally arrive in. Nodinite reads the message bodies with it when they are processed, re-indexed, and viewed, when they are fed to Stylesheets, and as the default in the Search Field Wizard. New 7.11

The Character encoding dropdown. The Id next to each option is the numeric value you can also use in the ExtendedProperties/1.0#Encoding context property.
The Message Type setting is the lowest priority of four levels. The first level that holds a value wins:
| Priority | Level | Default |
|---|---|---|
| 1 | ExtendedProperties/1.0#Encoding context property on the Log Event |
Not set |
| 2 | Encoding named in the XML declaration of the body, such as <?xml version="1.0" encoding="windows-1252"?> |
Not set |
| 3 | Character encoding on the Endpoint | Inherit from the Message Type |
| 4 | Character encoding on the Message Type (this page) | UTF-8 (without BOM) |
Pick one of the supported encodings, such as UTF-8 (with BOM), UTF-16 (without BOM), Windows-1252, ISO-8859-1, or EBCDIC (IBM037). When the body is logged as Base64 text, pick the matching Base64 Decode into … option, for example Base64 Decode into UTF-8 (without BOM). The Character Encoding page lists every option.
You can also set the encoding from DevOps pipelines with the Web API.
Remove old messages based on Message Type (Days to keep)
Section titled “ Remove old messages based on Message Type (Days to keep)”The Logging Service periodically removes old Events, Context, and Bodies.
- You define the retention period per Message Type, on the Retention tab. Retention is on for a new Message Type, and the tab header shows the three values (Events, Context, Bodies) at a glance.
- The system only removes logged events that are in the processed state.

The Retention tab; each value has its own Never remove option.
Days to keep Events
Section titled “ Days to keep Events”Set the number of days to keep events for a given Message Type. If you set the value to zero (0), the system removes events on the next cleanup run.
The 'Never remove Events' option keeps data in Nodinite forever.
When the system removes Log Events, it also deletes comments.
Days to keep Context
Section titled “ Days to keep Context”Set the number of days to keep context data for Log Events of a given Message Type. If you set the value to zero (0), the system removes context on the next cleanup run.
The 'Never remove Context' option keeps data in Nodinite forever.
This value cannot exceed the 'Days to keep Events'.
Days to keep Bodies
Section titled “ Days to keep Bodies”Set the number of days to keep bodies for events of a given Message Type. If you set the value to zero (0), the system removes bodies on the next cleanup run.
The 'Never remove Bodies' option keeps data in Nodinite forever.
This value cannot exceed the 'Days to keep Events'.
Visualization of the days to keep for events
Section titled “Visualization of the days to keep for events”The system bases the default values for a new Message Type on System Parameters from the configuration database:
- DaysToKeepMessageEventsDefault: Sets the default number of days to keep events. Deleting an event also deletes its data/body message. The system assigns this value to new message types as default. A change applies only to Message Types created afterwards; no restart is needed.
- DaysToKeepMessageContextDefault: New 5.3 Sets the default number of days to keep context for an event. The system assigns this value to new message types as default. A change applies only to Message Types created afterwards; no restart is needed.
- DaysToKeepMessageDataDefault: Sets the default number of days to keep data in an event. The system assigns this value to new message types as default. A change applies only to Message Types created afterwards; no restart is needed.
If you log too many Messages or Events, data searches may slow down.
Custom Fields
Section titled “ Custom Fields”As part of the Repository Model, you can add Custom Field values to provide additional documentation about your Message Type.

Pick a Custom Field, then one or more of its values, and click Add.
Services
Section titled “ Services”A Service uses a Message Type through one of its Transport Contracts. The Services card lists each Service whose Transport Contract carries the Message Type, with its System under it and links to Mapify and Mermaid. Click a row to open the Service.

The Services card is read-only: it has no Edit button.
The Message Type's view page has the same Services card, to the right of the Message Type and above Articles. Each row opens the Service's view page and shows its System.

The view page lists the Services that use the Message Type, too.
- To attach or detach a Service, edit that Service's Transport Contract; see Manage Transport Contracts. Neither the Message Type's edit page nor its view page can add or remove one.
- The number in the card header counts the Services listed.
- On the edit page, Include deleted also lists deleted Services, marked Deleted. When every linked Service is deleted and Include deleted isn't ticked, the card says The only Service here is deleted. Tick Include deleted to list it. (or All N Services here are deleted…).
- The view page has no Include deleted and never lists deleted Services.
- When no Service uses the Message Type, the card says No Service uses this Message Type. and explains that a Service uses a Message Type when one of its Transport Contracts carries it.
- The card shows only to users who may view Services.
Stylesheets
Section titled “ Stylesheets”The Stylesheets card lists the Stylesheets linked to the Message Type; click Edit to change them. A Stylesheet linked to the Message Type by name isn't listed here; to change those name links, open the Stylesheet's edit page.
Search Field Expressions: The Binding That Powers Search
Section titled “ Search Field Expressions: The Binding That Powers Search”Search Field Expressions are bound to Message Types: the Logging Service runs only the expressions assigned to a message's Message Type, and the extracted values become searchable in Log Views. How Message Types power search explains the binding with an example. Tick Include deleted on the card to list deleted expressions too.

This section shows all Search Field Expressions bound to this Message Type (read-only view).
Manage Search Field Expressions
Section titled “Manage Search Field Expressions”Click the Search Field name to navigate to its configuration, or go to Add or manage Search Field in Log Administration to create new bindings.
Learn more: Search Field Expressions Overview explains all 12 expression plugin types and when to use each.
Custom Metadata
Section titled “ Custom Metadata”As part of the Repository Model, you can add Custom Metadata to provide well-structured, additional documentation about the Message Type. Click Add Custom Metadata in the section at the bottom of the General tab, and switch to Preview to see how it reads. See Add or manage Custom Metadata.
C4 Properties
Section titled “ C4 Properties”New 7.12 Expand C4 Properties on the General tab and pick a Component Type to set how the Message Type is drawn in Mapify. In C4 Diagrams a Message Type isn't a node: it travels on the connector Flows. The pen edits the chosen Component Type and + creates a new one. The card was called Visual Type before 7.12; see Repository Properties for C4 Diagramming.

The C4 Properties card with a Component Type.
The card shows only with the Mapify license. Without it, a Component Type that is already set stays set; you just don't see it. The view page of the Message Type shows the same card, read-only, with the Component Type, its Component Type Description, and its Category.
Articles
Section titled “ Articles”New 7.12
The Articles card lists the Articles that document the Message Type, such as a format specification or a mapping guide. Click Edit on the card to choose them. See The Articles Card on Repository Entities.
Statistics
Section titled “Statistics”Open the Statistics tab to see the perpetual traffic statistics for the selected Message Type: the number of events per Endpoint over time, and a list of every Endpoint that carries it. Pick a date range, filter by Direction, or check Include deleted. What the statistics show explains how to read them.

This example shows the recorded traffic pattern and its known Endpoints on the selected Message Type.
Next Steps
Section titled “ Next Steps”Now that you've configured your Message Type:
- Add or manage Search Field – Bind Search Field Expressions to this Message Type
- Search Field Expressions Overview – Explore all 12 expression plugins (XPath, RegEx, JSON Path, etc.)
- Add or manage Service – Organize Message Types within Services
- Log Views – Use this Message Type to filter logs for specific teams
- Character Encoding – How the Message Type, Endpoint, and Log Event encodings work together
Related Topics
Section titled “ Related Topics”- Message Type Conceptual Overview – Understand how Message Types enable cross-format search
- What is a Search Field? – Learn how Search Fields extract business-critical values
- Repository Model – See how Message Types fit into the overall architecture
- Message Types Overview – Find and view all Message Types
- Manage Message Types – Delete, restore, export, and re-index Message Types
- Services – Group related Message Types together
- Systems – Document the systems that produce these messages
- Endpoints – View endpoints associated with this Message Type
- Logging Service – The engine that processes messages and extracts Search Field values