Skip to content

1.4.0

Compare
Choose a tag to compare
@codebrain codebrain released this 30 Jan 03:19

Blog post announcement: https://www.elastic.co/blog/elastic-common-schema-dotnet-library-and-integrations-released-for-elasticsearch

General release of the ECS .NET library; a full C# representation of ECS using .NET types. This library forms a reliable and correct basis for integrations with Elasticsearch, that use both Microsoft .NET and ECS. These types can be used as-is, in conjunction with the Official .NET clients for Elasticsearch, or as a foundation for other integrations.

We have also shipped integrations for Elastic APM Logging with Serilog and NLog, vanilla Serilog and for BenchmarkDotnet.

There are a number of NuGet packages available for ECS version 1.4.0:

  • Elastic.CommonSchema.Serilog - Formats a Serilog log message into a JSON representation that can be indexed into Elasticsearch.
  • Elastic.Apm.SerilogEnricher - Adds transaction id and trace id to every Serilog log message that is created during a transaction. This works in conjunction with the Elastic.CommonSchema.Serilog package and forms a solution to distributed tracing with Serilog.
  • Elastic.Apm.NLog - Introduces two special place holder variables (ElasticApmTraceId, ElasticApmTransactionId) for use within your NLog templates.
  • Elastic.CommonSchema.BenchmarkDotNetExporter - An exporter for BenchmarkDotnet that can index benchmarking results directly into Elasticsearch, this can be helpful to detect code-related performance problems over time.
  • Elastic.CommonSchema - Foundational project that contains a full C# representation of ECS, used by the other integrations listed above.