@@ -112,10 +112,10 @@ setting. If `file_selectors` is given, then any global
112112`expand_event_list_from_field` value is ignored in favor of the ones
113113specified in the `file_selectors`. Regex syntax is the same as the Go
114114language. Files that don't match one of the regexes won't be
115- processed. <<input-aws-s3-content_type>>, <<input-aws-s3-include_s3_metadata >>,
116- <<input-aws-s3-multiline >>, <<input-aws-s3-max_bytes>>,
117- <<input-aws-s3-buffer_size>>, and <<input-aws-s3-encoding>> may also be set for
118- each file selector.
115+ processed. <<input-aws-s3-content_type>>, <<input-aws-s3-parsers >>,
116+ <<input-aws-s3-include_s3_metadata >>,<<input-aws-s3-max_bytes>>,
117+ <<input-aws-s3-buffer_size>>, and <<input-aws-s3-encoding>> may also
118+ be set for each file selector.
119119
120120["source", "yml"]
121121----
@@ -166,15 +166,43 @@ The maximum number of messages to return. Amazon SQS never returns more messages
166166than this value (however, fewer messages might be returned). Valid values: 1 to
16716710. Default: 5.
168168
169- [id="input-{type}-multiline "]
169+ [id="input-{type}-parsers "]
170170[float]
171- ==== `multiline`
171+ ==== `parsers`
172+
173+ beta[]
174+
175+ This option expects a list of parsers that non-JSON logs go through.
176+
177+ Available parsers:
178+
179+ * `multiline`
180+
181+ In this example, {beatname_uc} is reading multiline messages that
182+ consist of XML that start with the `<Event>` tag.
183+
184+ ["source","yaml",subs="attributes"]
185+ ----
186+ {beatname_lc}.inputs:
187+ - type: {type}
188+ ...
189+ parsers:
190+ - multiline:
191+ pattern: "^<Event"
192+ negate: true
193+ match: after
194+ ----
195+
196+ See the available parser settings in detail below.
197+
198+ [float]
199+ ===== `multiline`
172200
173201beta[]
174202
175203Options that control how {beatname_uc} deals with log messages that span
176- multiple lines. This only applies to non-JSON logs. See <<multiline-examples>>
177- for more information about configuring multiline options.
204+ multiple lines. See <<multiline-examples>> for more information about
205+ configuring multiline options.
178206
179207[float]
180208==== `queue_url`
0 commit comments