Movatterモバイル変換


[0]ホーム

URL:


Loading
  1. Elastic Docs/
  2. Reference/
  3. Elastic Common Schema (ECS)/
  4. ECS logging libraries

ECS Logging .NET

ECS logging are integrations for your favorite .NET logging libraries. They make it easy to format your logs into ECS-compatible JSON.

The .NET ECS libraries fall into several categories:

At its core all .NET ECS libraries are powered byElastic.CommonSchema which strongly types the ECS specification to .NET classes.

This library can be used to map your events to ECS in a typesafe fashion.

var doc = EcsDocument.CreateNewWithDefaults<EcsDocument>();doc = new EcsDocument();

Lean more about Elastic.CommonSchema.

Our log formatters allow you to change the way various logging frameworks log to IO (file/console) to use ECS json.

Our datashippers integrate with logging frameworks to facilitate sending events (logs) to various off Elastic receivers.

Currently these shippers support Elastic Cloud & Elasticsearch but other outputs are in the works.

All the data shippers utilizeElastic.Ingest.Elasticsearch.CommonSchema to send events to Elasticsearch.

Enrichers can be installed next toLog Formatters andData Shippers to automatically enrich the ECS json that gets produced.

The libraries reuse the same components that power other .NET libraries from Elastic—ensuring a common way to both configure and monitor Elastic’s .NET libraries.

ECS.NET Artichtecture overview

At its core all data shippers depend onElastic.Transport to coordinate HttpRequests. This library is also the heart of Elastic’s clients and ensures we share best practices and configuration options.

The data shipper libraries all depend upon the push based ingestion abstractions fromElastic.Ingest.* that presents an easy to useSystem.Threading.Channels backed method to push events as batches at variable rates to external datasources.

Lean more about Elastic.Ingest.Elasticsearch.CommonSchema.


[8]ページ先頭

©2009-2026 Movatter.jp