Skip to content

Commit 0b475be

Browse files
authored
Comment out Journald configuration in Filebeat's default config file (#42473)
Comment out Journald configuration in Filebeat's default configuration file, so Filebeat will not exit with an error message if started with the default configuration file on a OS other than Linux.
1 parent 7eb2bdd commit 0b475be

File tree

3 files changed

+6
-6
lines changed

3 files changed

+6
-6
lines changed

filebeat/_meta/config/filebeat.inputs.yml.tmpl

+2-2
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,11 @@ filebeat.inputs:
4343
# review: 1
4444

4545
# journald is an input for collecting logs from Journald
46-
- type: journald
46+
#- type: journald
4747

4848
# Unique ID among all inputs, if the ID changes, all entries
4949
# will be re-ingested
50-
id: my-journald-id
50+
#id: my-journald-id
5151

5252
# The position to start reading from the journal, valid options are:
5353
# - head: Starts reading at the beginning of the journal.

filebeat/filebeat.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ filebeat.inputs:
5555
# review: 1
5656

5757
# journald is an input for collecting logs from Journald
58-
- type: journald
58+
#- type: journald
5959

6060
# Unique ID among all inputs, if the ID changes, all entries
6161
# will be re-ingested
62-
id: my-journald-id
62+
#id: my-journald-id
6363

6464
# The position to start reading from the journal, valid options are:
6565
# - head: Starts reading at the beginning of the journal.

x-pack/filebeat/filebeat.yml

+2-2
Original file line numberDiff line numberDiff line change
@@ -55,11 +55,11 @@ filebeat.inputs:
5555
# review: 1
5656

5757
# journald is an input for collecting logs from Journald
58-
- type: journald
58+
#- type: journald
5959

6060
# Unique ID among all inputs, if the ID changes, all entries
6161
# will be re-ingested
62-
id: my-journald-id
62+
#id: my-journald-id
6363

6464
# The position to start reading from the journal, valid options are:
6565
# - head: Starts reading at the beginning of the journal.

0 commit comments

Comments
 (0)