You can enable Nodinite logging by adding diagnostic settings to your individual Azure Logic Apps. If you have hundreds of these, you should use infrastructure as code and automation instead of manual administration.
Below is an ARM Template that you can use to deploy Azure Logic Apps and configure diagnostics logging, WorkflowRuntime events, and Event Hub integration.
You need to review the parameter
eventHubNameand change it according to your design and configuration. There are some recommendations about the Event Hub Entity that you must be aware of, please review the Prerequisites user guide.
You need to review the
ARMTestnaming example and adjust to your naming standard
{
"$schema": "https://schema.management.azure.com/schemas/2015-01-01/deploymentTemplate.json#",
"contentVersion": "1.0.0.0",
"parameters": {
"workflows_DiagnosticARMTest_name": {
"defaultValue": "DiagnosticARMTest",
"type": "String"
}
},
"variables": {},
"resources": [
{
"type": "Microsoft.Logic/workflows",
"apiVersion": "2017-07-01",
"name": "[parameters('workflows_DiagnosticARMTest_name')]",
"resources": [
{
"name": "Microsoft.Insights/NodiniteLoggingTest",
"type": "/providers/diagnosticSettings",
"apiVersion": "2017-05-01-preview",
"dependsOn": [
"[parameters('workflows_DiagnosticARMTest_name')]"
],
"location": "westeurope",
"properties": {
"eventHubAuthorizationRuleId": "/subscriptions/{subscriptionId}/resourceGroups/{resourceGroupName}/providers/microsoft.eventhub/namespaces/{eventHubNamespace}/authorizationrules/RootManageSharedAccessKey",
"eventHubName": "nodinitelogging",
"metrics": [
{
"category": "AllMetrics",
"enabled": false
}
],
"logs": [
{
"category": "WorkflowRuntime",
"enabled": true
}
]
}
}
],
"location": "westeurope",
"properties": {
"state": "Enabled",
"definition": {
"$schema": "https://schema.management.azure.com/providers/Microsoft.Logic/schemas/2016-06-01/workflowdefinition.json#",
"contentVersion": "1.0.0.0",
"parameters": {},
"triggers": {
"manual": {
"type": "Request",
"kind": "Http",
"inputs": {
"schema": {}
}
}
},
"actions": {},
"outputs": {}
},
"parameters": {}
}
}
]
}
Next Step
Prerequisites - Review Azure access, diagnostic settings, and Event Hub requirements. Configuration - Configure the agent after deploying the template.
Related Topics
About Logic Apps Logging options Logging Logic Apps Troubleshooting