Skip to content

Commit

Permalink
Migrate S3 Input to Filebeat Input V2 (#20005) (#21500)
Browse files Browse the repository at this point in the history
*moving s3 input to v2 input API
Co-authored-by: urso <[email protected]>

(cherry picked from commit 7e36f5c)
  • Loading branch information
kaiyan-sheng authored Oct 5, 2020
1 parent 9024ab9 commit 8f9faab
Show file tree
Hide file tree
Showing 7 changed files with 797 additions and 938 deletions.
1 change: 1 addition & 0 deletions CHANGELOG.next.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -688,6 +688,7 @@ field. You can revert this change by configuring tags for the module and omittin
- Always attempt community_id processor on zeek module {pull}21155[21155]
- Add related.hosts ecs field to all modules {pull}21160[21160]
- Keep cursor state between httpjson input restarts {pull}20751[20751]
- Convert aws s3 to v2 input {pull}20005[20005]

*Heartbeat*

Expand Down
2 changes: 2 additions & 0 deletions x-pack/filebeat/input/default-inputs/inputs.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ import (
"github.com/elastic/beats/v7/x-pack/filebeat/input/http_endpoint"
"github.com/elastic/beats/v7/x-pack/filebeat/input/httpjson"
"github.com/elastic/beats/v7/x-pack/filebeat/input/o365audit"
"github.com/elastic/beats/v7/x-pack/filebeat/input/s3"
)

func Init(info beat.Info, log *logp.Logger, store beater.StateStore) []v2.Plugin {
Expand All @@ -29,5 +30,6 @@ func xpackInputs(info beat.Info, log *logp.Logger, store beater.StateStore) []v2
http_endpoint.Plugin(),
httpjson.Plugin(log, store),
o365audit.Plugin(log, store),
s3.Plugin(),
}
}
Loading

0 comments on commit 8f9faab

Please sign in to comment.