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

Commit e7993aa

Browse files
authored
Corrected docs for batchAction config (#363)
1 parent efbd5ad commit e7993aa

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ This example shows the options that are currently available when using the appSe
6161
<add key="serilog:write-to:Elasticsearch.typeName" value="myCustomLogEventType"/>
6262
<add key="serilog:write-to:Elasticsearch.pipelineName" value="myCustomPipelineName"/>
6363
<add key="serilog:write-to:Elasticsearch.batchPostingLimit" value="50"/>
64-
<add key="serilog:write-to:Elasticsearch.batchAction" value="create"/>
64+
<add key="serilog:write-to:Elasticsearch.batchAction" value="Create"/><!-- "Index" is default -->
6565
<add key="serilog:write-to:Elasticsearch.period" value="2"/>
6666
<add key="serilog:write-to:Elasticsearch.inlineFields" value="true"/>
6767
<add key="serilog:write-to:Elasticsearch.restrictedToMinimumLevel" value="Warning"/>
@@ -180,7 +180,7 @@ In your `appsettings.json` file, under the `Serilog` node, :
180180
"typeName": "myCustomLogEventType",
181181
"pipelineName": "myCustomPipelineName",
182182
"batchPostingLimit": 50,
183-
"batchAction": "create",
183+
"batchAction": "Create",
184184
"period": 2,
185185
"inlineFields": true,
186186
"restrictedToMinimumLevel": "Warning",

0 commit comments

Comments
 (0)