mirror of
https://github.com/elastic/logstash.git
synced 2025-04-25 07:07:54 -04:00
Add conditional coding to set correct default for codec (#9363)
Fix conditional coding Fixes #9139
This commit is contained in:
parent
528ff45f1f
commit
ad9bb5fdae
2 changed files with 10 additions and 0 deletions
|
@ -29,7 +29,12 @@ Add a field to an event
|
||||||
===== `codec`
|
===== `codec`
|
||||||
|
|
||||||
* Value type is <<codec,codec>>
|
* Value type is <<codec,codec>>
|
||||||
|
ifdef::default_codec[]
|
||||||
|
* Default value is +"{default_codec}"+
|
||||||
|
endif::[]
|
||||||
|
ifndef::default_codec[]
|
||||||
* Default value is `"plain"`
|
* Default value is `"plain"`
|
||||||
|
endif::[]
|
||||||
|
|
||||||
The codec used for input data. Input codecs are a convenient method for decoding your data before it enters the input, without needing a separate filter in your Logstash pipeline.
|
The codec used for input data. Input codecs are a convenient method for decoding your data before it enters the input, without needing a separate filter in your Logstash pipeline.
|
||||||
|
|
||||||
|
|
|
@ -15,7 +15,12 @@ The following configuration options are supported by all output plugins:
|
||||||
===== `codec`
|
===== `codec`
|
||||||
|
|
||||||
* Value type is <<codec,codec>>
|
* Value type is <<codec,codec>>
|
||||||
|
ifdef::default_codec[]
|
||||||
|
* Default value is +"{default_codec}"+
|
||||||
|
endif::[]
|
||||||
|
ifndef::default_codec[]
|
||||||
* Default value is `"plain"`
|
* Default value is `"plain"`
|
||||||
|
endif::[]
|
||||||
|
|
||||||
The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output, without needing a separate filter in your Logstash pipeline.
|
The codec used for output data. Output codecs are a convenient method for encoding your data before it leaves the output, without needing a separate filter in your Logstash pipeline.
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue