Skip to content

Commit

Permalink
Update silence_errors_in_log example
Browse files Browse the repository at this point in the history
The example is unfortunately deprecated and does not work anymore. See logstash-plugins/logstash-output-elasticsearch#1159 

Also it would be nice to have a list of possible values somewhere - I could not find any
  • Loading branch information
BBQigniter authored Nov 21, 2023
1 parent 35dd359 commit f97b24f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions docs/plugins/outputs/elasticsearch.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -987,12 +987,12 @@ if enabled, script is in charge of creating non-existent document (scripted upda

Defines the list of Elasticsearch errors that you don't want to log.
A useful example is when you want to skip all 409 errors
which are `document_already_exists_exception`.
which are `version_conflict_engine_exception`.

[source,ruby]
output {
elasticsearch {
silence_errors_in_log => ["document_already_exists_exception"]
silence_errors_in_log => ["version_conflict_engine_exception"]
}
}

Expand Down

0 comments on commit f97b24f

Please sign in to comment.