Skip to content
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.
This repository has been archived by the owner on Jun 1, 2024. It is now read-only.

Force IndexFormat value to lowercase #306

Closed
Mohamad-Sobhie opened this issue Dec 16, 2019 · 1 comment
Closed

Force IndexFormat value to lowercase #306

Mohamad-Sobhie opened this issue Dec 16, 2019 · 1 comment

Comments

@Mohamad-Sobhie
Copy link

when using the index format as below, the code will not show any error, yet it will not log to elasticsearch because the indexing format should be lowered-case. This should be handled somewhere.

    var logger = new LoggerConfiguration()
            .WriteTo.Elasticsearch(new ElasticsearchSinkOptions(new Uri("http://localhost:9200"))
            {
                IndexFormat = "TESTING",
            }).CreateLogger();
mivano added a commit that referenced this issue Dec 16, 2019
@mivano mivano closed this as completed in 71dd3c7 Dec 16, 2019
@mivano
Copy link
Contributor

mivano commented Dec 16, 2019

Is fixed in dev branch, will go to master soon. Tx.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants