Skip to content

Releases: elastic/ecs-dotnet

1.5.1

03 Jun 14:52
Compare
Choose a tag to compare

1.5.0...1.5.1

Features

  • #74 NLog Ecs Layout event Enrichment
  • #78 NLog EcsLayout - Added support for Log Origin
  • #81 add benchmarks for simple serialization cases
  • #82 Expose Serialize(StringBuilder) overload

Bug Fixes

  • #83 fix #79 only inject layout renderer keys for APM if Elastic.Apm.NLog …

View the full list of issues and PRs

1.5.0

30 Mar 01:16
8693f3a
Compare
Choose a tag to compare

This release brings the packages up to date with ECS 1.5.0.

Compatibility

Compatible with ECS Schema version: 1.5.0

Features & Enhancements

  • #60 Implement ECS schema 1.5

View the full list of issues and PRs

1.4.4

25 Mar 05:10
509c0e5
Compare
Choose a tag to compare

Compatibility

Compatible with ECS Schema version: 1.4.0

Fixes

  • #58 [BUG] StackOverflowException when WithElasticApmCorrelationInfo() is used
  • #66 Increase Elastic.Apm dependency to 1.4.0

View the full list of issues and PRs

1.4.3

16 Mar 05:45
Compare
Choose a tag to compare

Compatibility

Compatible with ECS Schema version: 1.4.0

Fixes

  • #62 [BUG] MapHttpAdapter is always null so no data from HttpContext is logged

Examples

  • #63 Example to demonstrate registration of the EcsTextFormatter within an AspnetCore application.

View the full list of issues and PRs

1.4.2

06 Mar 05:42
5ebd054
Compare
Choose a tag to compare

Compatibility

Compatible with ECS Schema version: 1.4.0

Fixes

  • #59 Ensure calls to Agent.Tracer use null propagation to access child objects

1.4.1

26 Feb 04:48
1fe8dfa
Compare
Choose a tag to compare

Compatibility

Compatible with ECS Schema version: 1.4.0

Features & Enhancements

The focus of this release has been around a logging integration for NLog, with the introduction of a new package:

Elastic.CommonSchema.NLog Formats an NLog message into a JSON representation that can be indexed into Elasticsearch. NuGet Release
  • #51 Adds formatting for additional Serilog objects

Fixes

  • #42 Fix NullReferenceEception if job is not specified in benchmark configuration.
  • #46 Fixes Serilog serialization by ensuring newlines are written to streams.
  • #45 Elastic.CommonSchema.BenchmarkDotNetExporter assembly has a private asset reference to the client. This PR removes the PrivateAssets="all" attribute so that the client reference flows to the project.

1.4.0

30 Jan 03:19
Compare
Choose a tag to compare

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.

1.4.0-beta1

07 Jan 11:29
Compare
Choose a tag to compare

This adds

  • Elastic.CommonSchema.Serilog
  • Elastic.Apm.NLog
  • Elastic.Apm.SerilogEnricher

And updates the ECS specs to 1.4

1.2.0-alpha1

20 Feb 06:53
d650234
Compare
Choose a tag to compare
1.2.0-alpha1 Pre-release
Pre-release

Initial alpha pre-release of the ECS .NET library, compatible with ECS Schema version v1.2.0

Feedback very much welcome!