- 4 minutes to read

Add or manage Message Type

This guide will learn how to configure the Nodinite Message Types for use in self-service enabled Log Views.

Add a new Message Type, Edit or Delete an existing from the list in the overview.

A Message Type can be a Service- and Search Field Expressions member after successfully creating the Message Type. MT

Basic data fields

  • A Name is required to create the Message Type.
  • Description: A user-friendly optional description.
  • Web Site: You can provide an optional quick link for end-users working with and viewing the System. This quick link is usually a WIKI/Sharepoint site with additional documentation.

Removal of old messages based on Message Type (Days to keep)

The Logging Service periodically removes old Events, Context, and Bodies. The period is user-defined per Message Type.

To qualify for removal, the logged events must first be processed by changing the origin state (Unprocessed).

Days to keep Events

The number of days to keep events of given Messages Type. If set to zero (0), the events get removed on the next cleanup run. Never remove Events will store the data in Nodinite and skip the cleanup for the given Message Type. On removal of the Event, any comments or search field values are also get removed.

Days to keep Context

The number of days to keep the Context data for events of given Messages Type. The data is removed during the next cleanup run if this value is set to zero (0) Never remove Context will store the data in Nodinite and skip the cleanup for the given Message Type.

This value can not be higher than the Days to keep Events.

Days to keep Bodies

The number of days to keep the Bodies for events of given Messages Type. The data is removed during the next cleanup run if this value is set to zero (0) Never remove Context will store the data in Nodinite and skip the cleanup for the given Message Type.

This value can not be higher than the Days to keep Events.

Visualization of the days to keep for events

graph TD subgraph "far:fa-envelope-open-text Days to keep Events" baseInformation(Information about<br>the Event itself) searchFieldValues(Search Field Values) comments(Comments) subgraph "fas:fa-key Days to keep Context" conntextValues(&nbsp &nbsp &nbsp Context &nbsp &nbsp &nbsp) end subgraph "far:fa-file-code Days to keep Bodies" Bodies(&nbsp &nbsp &nbsp Body &nbsp &nbsp &nbsp) end end

Days To Keep

The default values for a new Message Type is based on a System Parameter from the SystemParameters table in the configuration database:

  • DaysToKeepMessageEventsDefault: The default number of days to keep events. Deleting an event will also delete its data/body message. This value will be assigned to new messagetypes as its default. The Logging Service must be restarted if this value is changed.

  • DaysToKeepMessageContextDefault: New 5.3 The default number of days to keep context for an event. This value will be assigned to new message types as its default. The Logging Service must be restarted if this value is changed.

  • DaysToKeepMessageDataDefault: The default number of days to keep data in an event. This value will be assigned to new message types as its default. The Logging Service must be restarted if this value is changed.

If too many Messages or Events are logged, searching for data may be significantly slower than with fewer data.

TIP: Tune these settings according for your business needs. Do not save more data than needed.

Custom Fields

As part of the Repository Model model, You can also add Custom Fields to provide additional documentation about your Message Type.
CustomFieldPicture

Services

Services associated with the Message Type are listed.

You can navigate further to the associated Service by clicking the provided quick link.

Search Field Expressions

Search Field Expression associated with the Message Type are listed. You can Add or manage Search Field in the Log Administration.

SearchField

You can navigate to the associated Search Fields by clicking the provided quick link.

Learn how to manage Search Field Expressions in the 'Configure Search Field Expression' user guide.


Next Step

Add or manage Search Field
Add or manage Service
Add or manage System

Message Types
Repository Model
Search Fields
Services
System
Endpoints
Log Views