- 12 minutes to read

Log Agents Overview

The Nodinite Log Agents Overview gives you full control over all Log Agents in your integration landscape. Every logged event names the Log Agent that sent it, so a well-named, well-described list of Log Agents is what lets you and your users tell event sources apart in Log Views.

  • ✅ Instantly filter and find any Log Agent by name or Log Agent Value Id
  • ✅ Add, edit, delete, or restore Log Agents with ease
  • ✅ Permanently delete a retired Log Agent and all its Endpoints, with a full impact preview New 7.12
  • ✅ Map Log Status Codes per Log Agent for business-friendly status
  • ✅ Quickly spot and rename auto-created Log Agents

Walkthrough: add the Log Agent Contoso Shipping Platform - Test with its Name, Description, Web Site, and Log Agent Value Id 9101, then save it (7.12)
Adding a Log Agent: name it, describe it, set its Log Agent Value Id, and save. Add its Log Status Codes next; see Add or manage Log Agents.

Tip

What is a Nodinite Log Agent? You are just one click away from knowing just that.

Understanding Log Agents

A Log Agent is the registered source of Log Events. Events reach the Log API from a ready-made Logging Agent or from your own code through Asynchronous Logging; each event carries a Log Agent Value Id that matches one entry in this list.

graph LR Src["fa:fa-sitemap Integration platform
or custom code"] -->|"Log Events with
Log Agent Value Id"| API["fa:fa-cloud-arrow-down Log API"] API -->|"stored in"| DB["fa:fa-database Log Databases"] LA["fa:fa-box-archive Log Agent entry
name, description, Log Status Codes"] -.->|"names the source and
translates status codes"| DB DB -->|"searched through"| LV["fa:fa-hard-drive Log Views"] style Src fill:#9E59BB,color:#fff style API fill:#2678BD,color:#fff style DB fill:#3F827B,color:#fff style LA fill:#E47528,color:#fff style LV fill:#2678BD,color:#fff

The event source (purple) sends Log Events to Nodinite components (blue) that store them in the Log Databases (teal); the Log Agent entry you manage on this page (orange) names the source and translates its status codes.

Component Role Managed in
Log Agent entry Name, description, website, and Log Agent Value Id of one event source This page and Add or manage Log Agents
Log Status Codes Translate a source's numeric codes into readable text and a status type Add or manage Log Status Codes
Log API and Log Databases Receive and store the Log Events Core Services
Log Views Let users search events, optionally filtered by Log Agent Add or manage Log View

Find the Log Agents Overview

The Log Agents Overview is in the Log Management section of the Administration menu (Log Management). Use the Nodinite Log Views to search for data from the Log Agents.

Log Agents are part of the Logging topic and are a key feature of Nodinite. Read What is a Log Agent? to understand the basic concepts before continuing.

The overview has a sortable list of defined Log Agents. Narrow an extensive list by typing in the Filter the result box, or filter on the Log Agent Value.

Log Agents list with Name, Log Agent Value, and Description columns, and the Add C4 Diagrams and Add Log Agent buttons (7.10)
The Nodinite Log Agents list, filterable by name and by Log Agent Value, with the Include deleted option; sort by Name, Created, Changed, Log Agent Value, or Description.

Click the Action button on the right of each Log Agent to see available actions for that Log Agent.

Log Agent Action menu with Edit, Show in Mapify, Show in Mermaid, and Delete (7.10)
The Action menu of a Log Agent; a deleted Log Agent shows Restore and Permanently Delete instead of Delete.

Manage Log Agents

The available functionalities for managing Log Agents are:

Add new Log Agent

To create a new Log Agent, click the Add Log Agent button to open the Log Agent editor. Nodinite also creates a Log Agent automatically, named Not Set (Value Id N), where N is the Log Agent Value Id, when the first event with an unknown Value Id arrives; rename it.

Add Log Agent button on the Log Agents Overview
The Add Log Agent button opens an empty Log Agent form.

Edit Log Agent

To Edit an existing Log Agent, click the link in the Name column, or open the Action menu and click Edit.

Edit menu item highlighted in the Log Agent Action menu (7.10)
The Edit menu item opens the Log Agent form.

Show in Mapify or Mermaid

New 7.10 Two menu items show the Log Agent in a diagram:

  • Show in Mapify opens the Log Agent in Mapify, the interactive map of your integration landscape (see Mapify Rendering). Requires Nodinite 7.10 or later with a Mapify license.
  • Show in Mermaid shows the Log Agent as a Mermaid diagram (see Mermaid Rendering).

The Log Agent editor has the same two choices as Mapify and Mermaid buttons in its header.

Walkthrough: Show in Mapify on the O2C Data Log Agent opens Mapify with the Log Agent, its Endpoints, and the Log Views, Roles, and Users that reach it (7.12)
Show in Mapify on the Order-to-Cash demo Log Agent O2C Data: Mapify draws the Endpoints it logs from, and the Log Views, Roles, and Users that reach it.

Show in Mapify menu item highlighted in the Log Agent Action menu (7.10)
Show in Mapify opens the Log Agent in Mapify.

Show in Mermaid menu item highlighted in the Log Agent Action menu (7.10)
Show in Mermaid renders the Log Agent as a Mermaid diagram.

Delete Log Agent

To Delete an existing Log Agent, open the Action menu and click Delete. The Log Agent is flagged as deleted, not removed; see View and Restore Deleted Records.

Walkthrough: delete the Log Agent Contoso Shipping Platform - Test, check Include deleted, and restore it (7.12)
Delete, then Include deleted and Restore: the Log Agent is Available again with everything it had.

Note

A deleted Log Agent that receives an event is restored automatically. To keep a Log Agent deleted, stop the agent from sending events first.

Delete menu item highlighted in the Log Agent Action menu (7.12)
The Delete menu item soft-deletes the Log Agent.

Click Yes in the Confirm intent to Delete dialog, or No to keep the Log Agent.

Confirm intent to Delete dialog for the Log Agent Contoso Shipping Platform - Test with Yes and No buttons (7.12)
The dialog names the Log Agent you are about to delete.

A Success message confirms the result, and the Log Agent disappears from the list unless Include deleted is checked.

Success message: Log Agent Contoso Shipping Platform - Test is now deleted (7.12)
The confirmation that the Log Agent is flagged as deleted.

Restore deleted Log Agent

To Restore a deleted Log Agent, first check the Include deleted check box; deleted Log Agents then appear in the list. Open the Action menu and click Restore. See Show deleted records.

Restore menu item highlighted in the Action menu of a deleted Log Agent, with Permanently Delete below it (7.12)
On a deleted Log Agent, Restore and Permanently Delete replace Delete in the menu.

Click Yes in the Confirm intent to Restore dialog.

Confirm intent to Restore dialog for the Log Agent Contoso Shipping Platform - Test with Yes and No buttons (7.12)
Confirm that you want the Log Agent back in the list.

Success message: Log Agent Contoso Shipping Platform - Test is now restored (7.12)
The confirmation that the Log Agent is restored and back in the list of active Log Agents.

Permanently Delete Log Agent

New 7.12 Permanently Delete removes a retired Log Agent for good, together with every Endpoint it created, live ones included. Use it to clean up after an integration platform or a test agent is gone.

Important

Permanently Delete can't be undone. A Log Agent that still sends events is created again as Not Set (Value Id N), where N is its Log Agent Value Id, together with its Endpoints. Stop the agent first if it must stay gone.

Permanently Delete is available to Administrators only, and only for a deleted Log Agent, so delete it first. Check Include deleted, open the deleted Log Agent's Action menu, and click Permanently Delete. You permanently delete one Log Agent at a time: With Selected on the Log Agents list offers Manage Tags only, so a purge always shows the impact of exactly one agent.

Action menu of a deleted Log Agent with Edit, Show in Mapify, Show in Mermaid, Restore, and Permanently Delete (7.12)
On a deleted Log Agent, the menu offers Restore and Permanently Delete.

The Permanently Delete Log Agent dialog names the Log Agent and its Log Agent Value, sums up what is removed, and shows the details on three tabs. The counts are taken from the live data when the dialog opens.

Impact tab

The Impact tab counts everything that is removed:

  • the Endpoints (deleted and live), with their Log Points, Metrics, and Metric Values
  • Transport Contracts left without an Endpoint, together with their Contracts
  • the Log View filters on the Log Agent, and the Log Views that lose Endpoints from their filter
  • Custom Metadata and Article links on the Endpoints
  • the Log Agent's Log Status Codes, Categories, and, for a BizTalk Log Agent, its BizTalk configuration

Message Types and Log Events are kept; the Log Events follow their Message Type's retention. The tab also shows when the last event from the Log Agent arrived, so you can see whether it's still active.

Permanently Delete Log Agent dialog, Impact tab with the counts of removed Endpoints, Log Points, Transport Contracts, Log View filters, and more (7.12)
The Impact tab: check the counts, especially the live Endpoints and the time of the last event, before you continue.

Log Views tab

The Log Views tab lists every Log View that loses this Log Agent or its Endpoints from a filter, with what it Loses and what it Keeps. Click a Log View name to open it.

Warning

A Log View with nothing left in a filter is no longer restricted in that dimension, so it shows more events than before. Users of that Log View may then see events they couldn't see before. Adjust its scope in Add or manage Log View before or after the purge.

Permanently Delete Log Agent dialog, Log Views tab listing the Log View Contoso Legacy FTP traffic with what it loses and keeps, marked Shows more events (7.12)
The Log Views tab: review each Log View whose filter becomes empty.

Transport Contracts tab

A Transport Contract left without any Endpoint is always removed, together with its Contract. A Transport Contract that also has an Endpoint of another Log Agent survives by default; the Transport Contracts tab lists those, with the Endpoints each one Loses and Keeps, and you decide:

  • Leave them unselected to keep them, with the Endpoints of the other Log Agents.
  • Tick a row to remove that Transport Contract too: it loses all its Endpoints and is removed together with its Contract.
  • Switch on Remove all N surviving Transport Contracts to select all of them at once; Selected shows how many are chosen.

Narrow a long list with Filter the result.

Permanently Delete Log Agent dialog, Transport Contracts tab with the Remove all surviving Transport Contracts switch and the I understand that this cannot be undone check box highlighted (7.12)
The Transport Contracts tab: choose which surviving Transport Contracts to remove, then confirm.

Confirm

Check I understand that this cannot be undone to enable the Permanently Delete button, then click it. Click Cancel to keep the Log Agent.

The dialog confirms that the Log Agent and its Endpoints are gone. The details are written to the Log Audits, so you can look up later who permanently deleted what. Click Close.

In Log Audit Search, filter on the Function cnfg_LogAgents_HardDelete to find every permanent delete. Each entry names the Log Agent Ids and counts what was removed: Endpoints (and how many of them were live), surviving Transport Contracts removed by request, Log View filters, Log Status Codes, Categories, and BizTalk configurations. It also names the Log Views that lost a Log Agent or Endpoint filter. Soft deletes and restores are logged too, as cnfg_LogAgents_Delete and cnfg_LogAgents_Restore.

Log Audit Search result with a Permanently deleted 1 Log Agents and their related data entry, Function cnfg_LogAgents_HardDelete, created by DEV Administrator (7.12)
A permanent delete in the Log Audits; click more to read the whole entry. Soft deletes and restores leave entries too.

A large purge may take longer than 30 seconds. The dialog then tells you that the purge continues in the background, and the result is written to the Log Audits when it's done. If a purge stops halfway, click Permanently Delete on the same Log Agent again to complete it.

Log Agent permanently deleted message for Contoso Legacy FTP Gateway, mentioning the Log Audits (7.12)
The confirmation; it also reminds you that an agent that still sends events comes back as Not Set (Value Id N).

Add C4 Diagrams

The Add C4 Diagrams button, next to Add Log Agent, starts the wizard that generates C4 Diagram Sets from BizTalk Applications. The wizard reads the BizTalk applications that the BizTalk Log Agent already reports and turns them into C4 Diagrams in a C4 Diagram Set.

The button appears only when both of these are true:

  • At least one BizTalk Log Agent exists in the list.
  • Mapify is available: Nodinite 7.10.x or later New 7.10, with a Mapify license.

Generating diagrams requires the Create permission in the Permission Set for C4 Diagram Sets. The wizard, Generate from BizTalk, is the same one users start with Add Diagram Set ▾ › From BizTalk Application on the Diagram Sets page. The Generate C4 Diagrams action on a BizTalk Log Agent opens it with that Log Agent preselected.

New 7.12 The same wizard can also write Articles that document your BizTalk integrations, with no AI. Generating Articles requires the built-in Administrator role and a Mapify product key; see Generate Articles from BizTalk.

Frequently asked questions / Troubleshooting

You can create, edit, and delete Log Agents using the Nodinite Web Client.

How do I create a new Log Agent?

Follow the steps in Add or Manage Log Agent.

Why is there a Log Agent named Not Set?

Nodinite created it automatically, as Not Set (Value Id N), when events arrived with a Log Agent Value Id N that had no entry yet. That is also what happens when a Log Agent was permanently deleted while its agent still sent events. Edit it and give it a descriptive name, see Add or manage Log Agents. If the agent is retired, stop it and permanently delete the entry again.

Should I permanently delete the Log Agent or only some Endpoints?

Permanently delete the Log Agent when the whole event source is retired: it removes every Endpoint it created in one step. To remove only a few Endpoints, permanently delete them in Manage Endpoints instead.

Why is my Log View showing more events after a permanent delete?

The Log View filtered only on the deleted Log Agent or its Endpoints, so that filter became empty and no longer restricts anything. Edit the Log View in Add or manage Log View to set its scope again. The Log Views tab of the dialog lists these Log Views before you confirm.

Next Steps