Install
Install-Package Serilog.Sinks.ElasticEcsLogstash
dotnet add package Serilog.Sinks.ElasticEcsLogstash
paket add Serilog.Sinks.ElasticEcsLogstash
Serilog.Sinks.ElasticEcsLogstash Download (Unzip the "nupkg" after downloading)
Dependencies
.NETStandard 2.0
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Http.Extensions(>= 2.2.0)
- Serilog(>= 2.9.0)
- Serilog.Sinks.File(>= 4.1.0)
- Serilog.Sinks.PeriodicBatching(>= 2.2.0)
- Serilog.Sinks.RollingFile(>= 3.3.0)
- UAParser(>= 3.1.44)
- Microsoft.AspNetCore.Http.Abstractions(>= 2.2.0)
- Microsoft.AspNetCore.Http.Extensions(>= 2.2.0)
- Serilog(>= 2.9.0)
- Serilog.Sinks.File(>= 4.1.0)
- Serilog.Sinks.PeriodicBatching(>= 2.2.0)
- Serilog.Sinks.RollingFile(>= 3.3.0)
- UAParser(>= 3.1.44)
Tags
Also there is a ECS enricher that converts all properties of LogEvent to elasticseach ecs schema before send to logstash. For more information please reffer to GitHub Repository.