docs/index.asciidoc in logstash-input-stdin-3.2.6 vs docs/index.asciidoc in logstash-input-stdin-3.3.0
- old
+ new
@@ -27,12 +27,40 @@
want to join lines, you'll want to use the multiline codec.
[id="plugins-{type}s-{plugin}-options"]
==== Stdin Input Configuration Options
-There are no special configuration options for this plugin,
-but it does support the <<plugins-{type}s-{plugin}-common-options>>.
+This plugin supports the following configuration options.
+[cols="<,<,<",options="header",]
+|=======================================================================
+|Setting |Input type|Required
+| <<plugins-{type}s-{plugin}-ecs_compatibility>> | <<string,string>>|No
+|=======================================================================
+
+Also see <<plugins-{type}s-{plugin}-common-options>> for a list of options supported by all
+input plugins.
+
+
+
+
+[id="plugins-{type}s-{plugin}-ecs_compatibility"]
+===== `ecs_compatibility`
+
+* Value type is <<string,string>>
+* Supported values are:
+** `disabled`: does not use ECS-compatible field names (using `host` field to store host name)
+** `v1`: uses fields that are compatible with Elastic Common Schema (using `[host][hostname]`)
+* Default value depends on which version of Logstash is running:
+** When Logstash provides a `pipeline.ecs_compatibility` setting, its value is used as the default
+** Otherwise, the default value is `disabled`.
+
+Controls this plugin's compatibility with the
+{ecs-ref}[Elastic Common Schema (ECS)].
+
+
+
+
[id="plugins-{type}s-{plugin}-common-options"]
include::{include_path}/{type}.asciidoc[]
-:default_codec!:
\ No newline at end of file
+:default_codec!: