elastic / elastic/ecs-dotnet

Creating a data stream per log level in Elasticsearch

Open
#427 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
HTML
Stars
137
Forks
70
PR merge metrics
No merged PRs in 30d

Description

Hi there,

Do we have a feature like Index Decider in https://github.com/elastic/ecs-dotnet/tree/main/src/Elastic.Serilog.Sinks to create indexes per log level and date in the Data stream?

Here you can see IndexDecider and its tests

https://github.com/serilog-contrib/serilog-sinks-elasticsearch/blob/dev/src/Serilog.Sinks.Elasticsearch/Sinks/ElasticSearch/ElasticsearchSinkOptions.cs#L191

https://github.com/serilog-contrib/serilog-sinks-elasticsearch/blob/dev/test/Serilog.Sinks.Elasticsearch.Tests/IndexDeciderTests.cs

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.