---
title: Learn how to configure the Nodinite Logging and Monitoring Agent for Azure Logic Apps.
description: Configure the Nodinite Azure Logic Apps Logging and Monitoring Agent with remote configuration, subscription settings, Event Hub connectivity, and agent database options.
---

<a class="nodinite-release-notes" href="https://portal.nodinite.com/marketplace/16" data-url="https://portal.nodinite.com/marketplace/16"><i class="fal fa-fw fa-file-alt" aria-hidden="true"></i> Release Notes</a>

# <i class="fal fa-edit" aria-hidden="true"></i> Configuring the Azure Logic Apps Logging and Monitoring Agent

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>This guide teaches the basics about how to configure the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/">Azure Logic Apps Logging and Monitoring Agent</a> to enable <strong>Monitoring</strong> and <strong>Logging</strong> of Logic Apps in your Azure Subscriptions. Please read the '<a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/about-logic-apps-logging-options/">About Logic Apps Logging options</a>' user guide before you continue.</p></div>
</aside>

* <i class="fal fa-credit-card" aria-hidden="true"></i> [Subscription Configuration][Configuration - Subscription] - Learn how to configure a Subscription with Logic App Workflows, Event Hub connectivity, and Resource Groups to include in Monitoring and Logging.
  * <i class="fal fa-code-branch" aria-hidden="true"></i> [Event Hubs][Configuration - Event Hubs] - Connect to the diagnostics Event Hub that Logging and failed-run monitoring both read; it can live in a different subscription than the workflows.
  * <i class="fal fa-search" aria-hidden="true"></i> [Logging][Configuration - Logging] - Choose which triggers, Actions, and payloads become [Log Events][Log Event].
  * <i class="fal fa-sitemap" aria-hidden="true"></i> [Workflow Monitoring][Configuration - Workflow Monitoring] - Set Non-Events thresholds and exclude workflows from Monitoring.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>Monitoring and Remote Configuration become available after you <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/">install</a> the agent and create its initial <a href="https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/">Monitoring Agent Configuration</a>. First-time users start at <a href="#fa-square-plus-add-azure-logic-apps-logging-and-monitoring-agent-configuration">Add Azure Logic Apps Configuration</a>.</p><p>The agent needs an App Registration to connect to the Azure REST APIs. During subscription setup, you can also configure some features with SAS/connection-string options, depending on version and scenario; see <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/azure-access-and-roles/">Azure access</a> in the <a href="https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/">Prerequisites</a> and review <a href="https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access-least-privileges/">Azure Application Access - Least Privileges</a> before you configure authentication.</p></div>
</aside>

## <i class="fal fa-diagram-project" aria-hidden="true"></i> Understanding the configuration

You configure the agent remotely from the [Web Client][]. The [Monitoring Service][] passes your changes to the agent, which then reads Azure and feeds <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> with state and Log Events:

<div class="mermaid">
graph LR
    WC["fa:fa-display Web Client<br/>Remote Configuration"] --> MS["fa:fa-watch-fitness Monitoring Service"]
    MS --> AG["fa:fa-monitor-waveform Logic Apps agent"]
    AG --> SET["fa:fa-wrench Settings tab<br/>Environment, Debug, Agent Database"]
    AG --> SUB["fa:fa-credit-card Subscriptions"]
    SUB --> EH["fa:fa-code-branch Event Hubs"]
    SUB --> LOG["fa:fa-search Logging"]
    SUB --> WM["fa:fa-sitemap Workflow Monitoring"]
    LOG -->|"Log Events"| LAPI["fa:fa-cloud-arrow-down Log API"]
    WM -->|"Resources"| MV["fa:fa-display Monitor Views"]
    style WC fill:#2678BD,color:#fff
    style AG fill:#E47528,color:#fff
    style SUB fill:#3F827B,color:#fff
</div>

*Diagram: You open the Remote Configuration in the Web Client (blue). The agent (orange) keeps global settings on the Settings tab and one entry per Azure Subscription (teal), each with its own Event Hubs, Logging, and Workflow Monitoring settings.*

|Part|Where|What you set|
|---|---|---|
|<i class="fal fa-wrench" aria-hidden="true"></i> Settings tab|This page|Environment, Debug, Culture Information, [Agent Database][], and retention days|
|<i class="fal fa-credit-card" aria-hidden="true"></i> Subscriptions|[Subscription Configuration][Configuration - Subscription]|App Registration, Resource Groups, and the Logic Apps to include|
|<i class="fal fa-code-branch" aria-hidden="true"></i> Event Hubs|[Configure Event Hubs][Configuration - Event Hubs]|The diagnostics stream and its checkpoint container|
|<i class="fal fa-search" aria-hidden="true"></i> Logging|[Configure Logging][Configuration - Logging]|The **LogAPI URI** of the [Log API][], and what to log|
|<i class="fal fa-sitemap" aria-hidden="true"></i> Workflow Monitoring|[Configure Workflow Monitoring][Configuration - Workflow Monitoring]|Thresholds and excluded workflows|

## <i class="fal fa-edit" aria-hidden="true"></i> Remote Configuration

As a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> Administrator, click the 'Configuration' button to open a modal for [Remote Configuration][] and configure the [Monitoring Agent][Monitoring Agents]:

![Configuration button for Remote Configuration of a Monitoring Agent][png_RemoteConfigurationButton]  
*Click the 'Configuration' button to open a dialog for configuring the agent.*  

You can perform specific configurations directly on [Resources][] using the **Action** button, given that the [Role][Roles] of the [Monitor View][Monitor Views] has the [Remote Actions][] feature enabled; see [Managing Logic Apps][].

<aside aria-label="Info" class="nodinite-note nodinite-note--info">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-square-info"></i> Info</p>
<div class="nodinite-note__content"><p>You must be a <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> <strong>Administrator</strong> to manage <strong>Azure Subscriptions</strong> with Azure Logic Apps.</p></div>
</aside>

## <i class="fal fa-wrench" aria-hidden="true"></i> Settings tab

From within the **Settings** tab, you provide some details that determine the operation behaviour of the [Azure Logic Apps Logging and Monitoring Agent][LogicAppsAgent].

* <i class="fal fa-leaf" aria-hidden="true"></i> [Environment](#fa-leaf-environment)
* <i class="fal fa-bug" aria-hidden="true"></i> [Debug](#fa-bug-debug)
* <i class="fal fa-clock" aria-hidden="true"></i> [Culture Information](#fa-clock-culture-information)
* <i class="fal fa-database" aria-hidden="true"></i> [Agent database connection string](#fa-database-agent-database-connection-string)
* <i class="fal fa-calendar-alt" aria-hidden="true"></i> [Days to keep successful workflow runs](#fa-calendar-alt-days-to-keep-successful-workflow-runs)
* <i class="fal fa-calendar-alt" aria-hidden="true"></i> [Days to keep running and failed workflow runs](#fa-calendar-alt-days-to-keep-running-and-failed-workflow-runs)

![Azure Logic Apps agent Settings tab with Environment, Debug, Culture Information, and agent database fields (6.1.0.11)][2]  
*The Settings tab, here with the Swedish (sv-SE) culture and the default retention days for workflow runs.*  

### <i class="fal fa-leaf" aria-hidden="true"></i> Environment

As part of the common features shared with all [Monitoring Agents][] is an option to set the name of the target **Environment**, for example, TEST, QA, PROD.

### <i class="fal fa-bug" aria-hidden="true"></i> Debug

Part of the common features shared with all [Monitoring Agents][], is an option to set the **Debug** flag for additional file logging that you can enable or disable as needed. **Default** is **unchecked**.

### <i class="fal fa-clock" aria-hidden="true"></i> Culture Information

The **Culture Information** setting determines how the [Web Client][] and [Web API][] present time-based data from this Agent.

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>This setting applies to the date and time values this agent formats. Apart from those, the <a href="https://docs.nodinite.com/getting-started/overview/">Web Client</a> shows dates and times in your browser's local format, and the <a href="https://docs.nodinite.com/core-services/web-api/overview/">Web API</a> returns them in UTC.</p></div>
</aside>

### <i class="fal fa-database" aria-hidden="true"></i> Agent database connection string

The <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Logic Apps Logging and Monitoring Agent][LogicAppsAgent] uses a SQL Server [Agent Database][] to store data, including retry counts for [resubmitting failed runs][Managing Logic Apps]—a unique <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> feature. The service identity needs the [SQL Server rights][Prerequisites - SQL Server rights] listed in the Prerequisites.

```text
Server=localhost;Database=Nodinite_Agent_AzureLogicApps;Integrated Security=true;Connection Timeout=60;TrustServerCertificate=True
```

The connection string uses **Microsoft.Data.SqlClient** with modern TLS defaults.

<aside aria-label="Tip" class="nodinite-note nodinite-note--tip">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-lightbulb"></i> Tip</p>
<div class="nodinite-note__content"><p><strong>Need help with connection strings?</strong> See the comprehensive <a href="https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/">SQL Server Connection Strings</a> guide for certificate validation, AOAG configuration, troubleshooting, and security best practices.</p></div>
</aside>

### <i class="fal fa-calendar-alt" aria-hidden="true"></i> Days to keep running and failed workflow runs

* <i class="fal fa-calendar-xmark" aria-hidden="true"></i> **Days to keep running and failed workflow runs** - Specify the number of days to keep the running and failed runs until marked for deletion in the Agent database (Default = 180 days)

### <i class="fal fa-calendar-alt" aria-hidden="true"></i> Days to keep successful workflow runs

* <i class="fal fa-calendar-check" aria-hidden="true"></i> **Days to keep successful workflow runs** - Specify the number of days to keep the successful runs until marked for deletion in the Agent database (Default = 7 days)

To keep the long-term history in <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> and a short retention in Azure, see [Reduce Azure Logic Apps Run History Retention to Lower TCO][TCO].

## <i class="fal fa-save" aria-hidden="true"></i> Save

You must click '**Save**' or '**Save and close**' for changes to persist. The agent evaluates the new settings and thresholds on the next synchronization.

![Save and Close buttons in the Remote Configuration dialog][png_SaveAndClose]  
*Here's an example of the **Save** options.*  

<aside aria-label="Note" class="nodinite-note nodinite-note--note">
<p class="nodinite-note__label" aria-hidden="true"><i class="far fa-fw fa-note"></i> Note</p>
<div class="nodinite-note__content"><p>The delay in presenting the new evaluated state depends on the synchronization interval set for the Monitoring Agent. Click the <strong>Sync Now</strong> button to force an immediate synchronization.</p></div>
</aside>

* <i class="fal fa-floppy-disk" aria-hidden="true"></i> **Save and close**, save, and close the dialogue.
* <i class="fal fa-ban" aria-hidden="true"></i> **Cancel**, closes the dialogue without saving any changes.

## <i class="fal fa-square-plus" aria-hidden="true"></i> Add Azure Logic Apps Logging and Monitoring Agent Configuration

After successfully [installing][Install] the <span class="nodinite-product-name" title="The node that unites different systems. Or as we call it Nodinite">Nodinite</span> [Azure Logic Apps Logging and Monitoring Agent][LogicAppsAgent], you must provide connection details so the [Monitoring Service][] knows there's a new guy in town.

>There is no Monitoring or Logging in the [Azure Logic Apps Logging and Monitoring Agent][LogicAppsAgent] until you perform the steps below.

### <i class="fal fa-sort-numeric-down" aria-hidden="true"></i> Configuration Steps

1. Add and configure a new [Monitoring Agent Configuration][Add or manage a Monitoring Agent Configuration]. Connection information is available in the `README.txt` file in the installation folder.
2. Use the [Remote Configuration][] feature to configure the Agent. Detailed at the beginning of this user guide.
3. Create one or more self-service enabled [Monitor Views][] that include the selected [Resources][] provided by the [Azure Logic Apps Logging and Monitoring Agent][LogicAppsAgent] according to business needs, and add [Alarm Plugins][] to get notified on state changes.

    * <i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]

4. Fine-tune specific settings directly on [Resources][] using [Remote Actions][]

___

## <i class="fal fa-magic" aria-hidden="true"></i> How do I grant my users access to logic apps **monitoring**?

This is detailed in the [User access to Logic Apps Monitoring][] guide, using [Monitor Views][], [Roles][], and [Users][].

## <i class="fal fa-magic" aria-hidden="true"></i> How do I grant my users access to logic apps **logging**?

This is detailed in the [User access to Logic Apps Logging][] guide, using [Log Views][] and [Roles][]. See [Logging Logic Apps][] for what the agent logs.

## <i class="fal fa-question" aria-hidden="true"></i> Frequently asked questions

Find solutions to common problems in the [Troubleshooting][] guide.

## <i class="fal fa-hand-point-right" aria-hidden="true"></i> Next Steps

* <i class="fal fa-credit-card" aria-hidden="true"></i> [Subscription Configuration][Configuration - Subscription]  
* <i class="fal fa-monitor-waveform" aria-hidden="true"></i> [Add or manage a Monitoring Agent Configuration][]  
* <i class="fal fa-display" aria-hidden="true"></i> [Add or manage Monitor View][]  
* <i class="fal fa-user" aria-hidden="true"></i> [User access to Logic Apps Monitoring][]  

## <i class="fal fa-link-horizontal" aria-hidden="true"></i> Related Topics

* <i class="fal fa-user-secret" aria-hidden="true"></i> [Azure Application Access][AzureApplicationsAccess]  
* <i class="fal fa-clipboard-check" aria-hidden="true"></i> [Prerequisites][]  
* <i class="fal fa-rocket" aria-hidden="true"></i> [Install Azure Logic Apps Agent][Install]  
* <i class="fal fa-arrow-turn-up" aria-hidden="true"></i> [Update][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logic Apps Log Agent][LogicAppsAgent]  
* <i class="fal fa-chart-line" aria-hidden="true"></i> [Monitoring Logic Apps][]  
* <i class="fal fa-hard-drive" aria-hidden="true"></i> [Logging Service][]  
* <i class="fal fa-users-class" aria-hidden="true"></i> [Roles][]  

[2]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/LogicApps/Configuration/SettingsTab.png

[About Logic Apps Logging options]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/about-logic-apps-logging-options/
[Add or manage a Monitoring Agent Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/add-or-manage-monitor-agent/
[Add or manage Monitor View]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/add-or-manage-monitor-view/
[Agent Database]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/agent-database/
[Alarm Plugins]:https://docs.nodinite.com/administration/settings/alarm-plugins/features/what-is-an-alarm-plugin/
[AzureApplicationsAccess]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access/
[AzureApplicationsAccess - Least Privileges]:https://docs.nodinite.com/install-and-update/troubleshooting/azure/azure-application-access-least-privileges/
[Configuration - Event Hubs]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-event-hubs/
[Configuration - Logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-logging/
[Configuration - Subscription]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-subscription/
[Configuration - Workflow Monitoring]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/configuration-workflow-monitoring/
[Install]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/install/
[Log API]:https://docs.nodinite.com/core-services/log-api/overview/
[Log Event]:https://docs.nodinite.com/core-services/log-event/overview/
[Log Views]:https://docs.nodinite.com/administration/log-management/log-views/features/what-is-a-log-view/
[Logging Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/logging-logic-apps/
[Logging Service]:https://docs.nodinite.com/core-services/logging-service/overview/
[LogicAppsAgent]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/overview/
[Managing Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/managing-logic-apps/
[Monitor Views]:https://docs.nodinite.com/administration/monitor-management/monitor-views/features/what-is-a-monitor-view/
[Monitoring Agents]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/what-is-a-monitor-agent/
[Monitoring Logic Apps]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/monitoring-logic-apps/
[Monitoring Service]:https://docs.nodinite.com/core-services/monitoring-service/overview/
[png_RemoteConfigurationButton]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/RemoteConfiguration.png
[png_SaveAndClose]:https://docs.nodinite.com/media/Documentation%20Pictures/MonitorAgent/SQL/SaveAndClose.png
[Prerequisites]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/
[Prerequisites - Azure access]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/azure-access-and-roles/
[Prerequisites - SQL Server rights]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/getting-started/prerequisites/#sql-server-rights
[Remote Actions]:https://docs.nodinite.com/getting-started/monitor/remote-actions/
[Remote Configuration]:https://docs.nodinite.com/administration/monitor-management/monitor-agents/features/how-do-i-configure-a-monitor-agent/
[Resources]:https://docs.nodinite.com/administration/monitor-management/resources/features/what-is-a-resource/
[Roles]:https://docs.nodinite.com/administration/access-management/roles/features/what-is-a-role/
[SQL Connection Strings]:https://docs.nodinite.com/install-and-update/troubleshooting/sql-server/connection-strings/
[TCO]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/reduce-azure-logic-apps-run-history-retention-to-lower-tco/
[Troubleshooting]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/troubleshooting/overview/
[Update]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/updating/
[User access to logic apps logging]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/user-access-to-logic-apps-logging/
[User access to logic apps monitoring]:https://docs.nodinite.com/logging-and-monitoring/azure-logic-apps/features/user-access-to-logic-apps-monitoring/
[Users]:https://docs.nodinite.com/administration/access-management/users/features/what-is-a-user/
[Web API]:https://docs.nodinite.com/core-services/web-api/overview/
[Web Client]:https://docs.nodinite.com/getting-started/overview/