Open RiddlerKnight opened 2 years ago
The Serilog.Sinks.Elasticsearch sink is configured through an ElasticsearchSinkOptions options
parameter. So this is how it must be configured (i.e. with an intermediate options
object):
"WriteTo": [
{
"Name": "Elasticsearch",
"Args": {
"options": {
"indexAliases": [ "logstash" ]
}
}
}
]
I try to use string[] in Args section but the values is not map to the config option.
Serilog.Settings.Configuration 3.3.0