Skip to content

Commit 80fe682

Browse files
Remove the system-logs input (#42328) (#42386)
The system-logs input was created to support reading syslog and auth logs from Linux hosts by the system module, but at the end it was decided not to use it. This commit removes its code and references. --------- Co-authored-by: Denis <denis@rdner.de> (cherry picked from commit fd9570d) Co-authored-by: Tiago Queiroz <tiago.queiroz@elastic.co>
1 parent d0b5b6a commit 80fe682

File tree

11 files changed

+1
-786
lines changed

11 files changed

+1
-786
lines changed

CHANGELOG-developer.next.asciidoc

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -71,6 +71,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only.
7171
- Rename x-pack/filebeat websocket input to streaming. {issue}40264[40264] {pull}40421[40421]
7272
- Journald input now calls `journalctl` instead of using `github.com/coreos/go-systemd/v22@v22.5.0/sdjournal`, the CGO dependency has been removed from Filebeat {pull}40061[40061]
7373
- System module events now contain `input.type: systemlogs` instead of `input.type: log` when harvesting log files, however the ingest pipeline sets it back to the original input (log or journald). {pull}41246[41246]
74+
- The system-logs input is removed because it's not used anymore {pull}42328[42328]
7475

7576
==== Bugfixes
7677

filebeat/include/list.go

Lines changed: 0 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

filebeat/input/default-inputs/inputs_linux.go

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,6 @@ package inputs
1919

2020
import (
2121
"github.com/elastic/beats/v7/filebeat/input/journald"
22-
"github.com/elastic/beats/v7/filebeat/input/systemlogs"
2322
v2 "github.com/elastic/beats/v7/filebeat/input/v2"
2423
cursor "github.com/elastic/beats/v7/filebeat/input/v2/input-cursor"
2524
"github.com/elastic/beats/v7/libbeat/beat"
@@ -38,7 +37,6 @@ func osInputs(info beat.Info, log *logp.Logger, components osComponents) []v2.Pl
3837
zeroPlugin := v2.Plugin{}
3938
if journald := journald.Plugin(log, components); journald != zeroPlugin {
4039
plugins = append(plugins, journald)
41-
plugins = append(plugins, systemlogs.PluginV2(log, components))
4240
}
4341

4442
return plugins

filebeat/input/systemlogs/input.go

Lines changed: 0 additions & 214 deletions
This file was deleted.

filebeat/input/systemlogs/input_linux.go

Lines changed: 0 additions & 90 deletions
This file was deleted.

filebeat/input/systemlogs/input_linux_test.go

Lines changed: 0 additions & 54 deletions
This file was deleted.

0 commit comments

Comments
 (0)