You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
Currently IndexDecider setting can be set only from code.
public Func<LogEvent, DateTimeOffset, string> IndexDecider { get; set; }
I would like to have a possibility to set IndexDecider from configuration as well.
Please describe the expected behavior?
LoggerConfigurationElasticsearchExtensions.Elasticsearch should be changed to include IndexDecider as well which can be a string in class name, assembly format. Additionally, we would need an interface or base class which can be used for this setting with a single property which matches the definition of IndexDecider. The code in LoggerConfigurationElasticsearchExtensions.Elasticsearch can activate the class name provided by configuration and assign its property to the options.IndexDecider property
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
New feature request
Please describe the current behavior?
Currently IndexDecider setting can be set only from code.
public Func<LogEvent, DateTimeOffset, string> IndexDecider { get; set; }
I would like to have a possibility to set IndexDecider from configuration as well.
Please describe the expected behavior?
LoggerConfigurationElasticsearchExtensions.Elasticsearch should be changed to include IndexDecider as well which can be a string in class name, assembly format. Additionally, we would need an interface or base class which can be used for this setting with a single property which matches the definition of IndexDecider. The code in LoggerConfigurationElasticsearchExtensions.Elasticsearch can activate the class name provided by configuration and assign its property to the options.IndexDecider property
The text was updated successfully, but these errors were encountered: