Enrich Serilog log messages with APM TraceId and TransactionId.
Info
| Version: | 9.0.0 |
| Author(s): | Elastic and contributors |
| Last Update: | Wednesday, August 13, 2025 |
| .NET Fiddle: | Create the first Fiddle |
| Project Url: | https://github.com/elastic/ecs-dotnet |
| NuGet Url: | https://www.nuget.org/packages/Elastic.Apm.SerilogEnricher |
Install
Install-Package Elastic.Apm.SerilogEnricher
dotnet add package Elastic.Apm.SerilogEnricher
paket add Elastic.Apm.SerilogEnricher
Elastic.Apm.SerilogEnricher Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Elastic.Apm(>= 1.4.0)
- Serilog(>= 2.0.0)
- Elastic.Apm(>= 1.4.0)
- Serilog(>= 2.0.0)