Skip to content

Commit 3ae32d9

Browse files
trautapcfens
authored andcommitted
journald: Use 'match' field for include_matches
The `include_matches` configuration for journald inputs was updated in Filebeat 8.16. This change migrates the configuration to the new schema where array values are now expected under the YAML object `include_matches.match`. Reference: - https://www.elastic.co/guide/en/beats/libbeat/8.16/release-notes-8.16.0.html - https://www.elastic.co/guide/en/beats/filebeat/8.16/filebeat-input-journald.html#filebeat-input-journald-include-matches
1 parent 312a839 commit 3ae32d9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

templates/input.yml.erb

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,8 +54,9 @@
5454
<%- end -%>
5555
<%- if @include_matches.length > 0 -%>
5656
include_matches:
57+
match:
5758
<%- @include_matches.each do |match| -%>
58-
- <%= match %>
59+
- <%= match %>
5960
<%- end -%>
6061
<%- end -%>
6162
<%- else -%>

0 commit comments

Comments
 (0)