-
Notifications
You must be signed in to change notification settings - Fork 4.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
…1490) * Revert system module support for journald (#41489) Revert the system module usage of the system-logs input that was enabling it to run the Journald input. The revert is done in the system module configuration, pipelines and documentation. The system-logs input and its tests are kept. (cherry picked from commit 00d7161) # Conflicts: # filebeat/module/system/auth/config/auth.yml # filebeat/module/system/syslog/config/syslog.yml # filebeat/tests/integration/systemlogs_linux_test.go * resolve merge conflicts * skip system-logs tests --------- Co-authored-by: Tiago Queiroz <[email protected]>
- Loading branch information
1 parent
b1c7478
commit 3c16c29
Showing
30 changed files
with
97 additions
and
898 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,35 +1,17 @@ | ||
type: system-logs | ||
id: system-auth | ||
|
||
{{ if .use_journald }} | ||
use_journald: true | ||
type: log | ||
paths: | ||
{{ range $i, $path := .paths }} | ||
- {{$path}} | ||
{{ end }} | ||
exclude_files: [".gz$"] | ||
|
||
{{ if .use_files }} | ||
use_files: true | ||
{{ end }} | ||
multiline: | ||
pattern: "^\\s" | ||
match: after | ||
|
||
tags: {{ .tags | tojson }} | ||
processors: | ||
- add_locale: ~ | ||
|
||
publisher_pipeline.disable_host: {{ inList .tags "forwarded" }} | ||
|
||
journald: | ||
id: system-auth | ||
facilities: | ||
- 4 | ||
- 10 | ||
|
||
files: | ||
id: system-auth | ||
paths: | ||
{{ range $i, $path := .paths }} | ||
- {{$path}} | ||
{{ end }} | ||
exclude_files: [".gz$"] | ||
|
||
multiline: | ||
pattern: "^\\s" | ||
match: after | ||
tags: {{ .tags | tojson }} | ||
|
||
publisher_pipeline.disable_host: {{ inList .tags "forwarded" }} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.