Open ArminShoeibi opened 2 months ago
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
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