Creating a data stream per log level in Elasticsearch
Open
- 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
Assessment
This issue has not been assessed yet.