Skip to content

Commit

Permalink
Remove the system-logs input
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
belimawr committed Jan 16, 2025
1 parent c7b6ad8 commit 2222d3f
Show file tree
Hide file tree
Showing 11 changed files with 1 addition and 786 deletions.
1 change: 1 addition & 0 deletions CHANGELOG-developer.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -71,6 +71,7 @@ The list below covers the major changes between 7.0.0-rc2 and main only.
- Rename x-pack/filebeat websocket input to streaming. {issue}40264[40264] {pull}40421[40421]
- Journald input now calls `journalctl` instead of using `github.com/coreos/go-systemd/[email protected]/sdjournal`, the CGO dependency has been removed from Filebeat {pull}40061[40061]
- 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]
- The system-logs input is remove because it's not used any more {pull}9999[9999]

==== Bugfixes

Expand Down
1 change: 0 additions & 1 deletion filebeat/include/list.go

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 0 additions & 2 deletions filebeat/input/default-inputs/inputs_linux.go
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,6 @@ package inputs

import (
"github.com/elastic/beats/v7/filebeat/input/journald"
"github.com/elastic/beats/v7/filebeat/input/systemlogs"
v2 "github.com/elastic/beats/v7/filebeat/input/v2"
cursor "github.com/elastic/beats/v7/filebeat/input/v2/input-cursor"
"github.com/elastic/beats/v7/libbeat/beat"
Expand All @@ -38,7 +37,6 @@ func osInputs(info beat.Info, log *logp.Logger, components osComponents) []v2.Pl
zeroPlugin := v2.Plugin{}
if journald := journald.Plugin(log, components); journald != zeroPlugin {
plugins = append(plugins, journald)
plugins = append(plugins, systemlogs.PluginV2(log, components))
}

return plugins
Expand Down
214 changes: 0 additions & 214 deletions filebeat/input/systemlogs/input.go

This file was deleted.

90 changes: 0 additions & 90 deletions filebeat/input/systemlogs/input_linux.go

This file was deleted.

54 changes: 0 additions & 54 deletions filebeat/input/systemlogs/input_linux_test.go

This file was deleted.

Loading

0 comments on commit 2222d3f

Please sign in to comment.