- 2 minutes to read

Nodinite Serilog sink using an Azure Event Hub Entity

Use the Nodinite Serilog EventHub sink with your full framework and .NET Core applications to enable end-to-end tracking. Typical examples include Microsoft Azure functions built with .NET (usually CSharp). Nodinite supports payload Logging and removes the obstacle that Application Insights logging imposes on message size.

Important

Set OriginalMessageType for searchable business data - The Event Hub sink streams your log events to Azure Event Hubs for asynchronous processing by the Pickup Service. Without proper Message Types, your logged events won't have business data extraction via Search Field Expressions, preventing features like Non-Events Monitoring, Business Process Modeling (BPM), and business-data searches in Log Views from functioning. Always include OriginalMessageType in your logging code before deploying to production.

graph LR A[.NET Application] -->|Log Event| SLS(Serilog) F[fal:fa-function Azure Function] --> |Log Event| SLS LA[fal:fa-cloud-arrow-down Nodinite Log API] PS[far:fa-truck-pickup Pickup Service] PS --> LA SLS --> SLSB[fa:fa-list Event Hub Sink] ASB[fa:fa-list-ol Azure Event Hub Entity] SLSB --> ASB ASB -..-> |Async| PS

Logging Options

Choose one of the following articles based on the solution you want to enable Logging for:

'How To Start Logging With Microsoft.Extensions.Logging.ILogger in Azure Functions'
'How To Start Logging With Serilog'

Connection Options

Regardless of your choice, include one of the following configurations in your appsettings.json file:

Next Step

'How To Start Logging With Microsoft.Extensions.Logging.ILogger in Azure Functions'
'How To Start Logging With Serilog'

Message Types - Critical for Search Field extraction from Event Hub sink events
Search Field Expressions - Extract business data from logged messages
Log Views - Search logged data by business identifiers
Non-Events Monitoring - Track message volumes and detect missing messages
Business Process Modeling (BPM) - End-to-end transaction tracking
Pickup Service - Processes Event Hub events asynchronously