-
Notifications
You must be signed in to change notification settings - Fork 4.9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[Filebeat] Add option for S3 input to work without SQS notification #27332
Merged
aspacca
merged 21 commits into
elastic:master
from
aspacca:Filebeat-Add-option-for-S3-input-to-work-without-SQS-notification-refactored
Aug 17, 2021
+2,798
−655
Merged
Changes from 6 commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
af149f8
[Filebeat] Add option for S3 input to work without SQS notification
4c43eab
changelog
23d8488
docs and configs
4b91953
make update
84677ab
aws credentials and config
5ef9d12
state and states
e4e5950
s3 bucket polling refactored
4ed3e5a
make update
a1f9e53
benchmark, bugfix and metrics
d7e6d74
fix bug
a997b91
cr fixes
0895cbc
integration test
b3b19bc
revert missing build tags
193664b
cr fixes
42284d0
make update
c99c412
fix config test
e9049e6
cr fix
cf6c277
eventACKTracke Add/Wait must be sequential
839770a
Merge branch 'master' into Filebeat-Add-option-for-S3-input-to-work-w…
5e8594e
cr fixes
4087528
fix quotes in docs
File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Original file line number | Diff line number | Diff line change | ||||
---|---|---|---|---|---|---|
|
@@ -49,8 +49,9 @@ Example config: | |||||
cloudtrail: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -65,8 +66,9 @@ Example config: | |||||
cloudwatch: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -81,8 +83,9 @@ Example config: | |||||
ec2: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -97,8 +100,9 @@ Example config: | |||||
elb: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -113,8 +117,9 @@ Example config: | |||||
s3access: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -129,8 +134,9 @@ Example config: | |||||
vpcflow: | ||||||
enabled: false | ||||||
#var.queue_url: https://sqs.myregion.amazonaws.com/123456/myqueue | ||||||
#var.s3_bucket: 'arn:aws:s3:::mybucket | ||||||
#var.s3_bucket_poll_interval: 300s | ||||||
#var.bucket: 'arn:aws:s3:::mybucket | ||||||
#var.bucket_list_interval: 300s | ||||||
#var.number_of_workers: 5 | ||||||
#var.shared_credential_file: /etc/filebeat/aws_credentials | ||||||
#var.credential_profile_name: fb-aws | ||||||
#var.access_key_id: access_key_id | ||||||
|
@@ -145,7 +151,7 @@ Example config: | |||||
|
||||||
*`var.queue_url`*:: | ||||||
|
||||||
AWS SQS queue url (Required when `var.s3_bucket` is not set). | ||||||
AWS SQS queue url (Required when `var.bucket` is not set). | ||||||
|
||||||
*`var.visibility_timeout`*:: | ||||||
|
||||||
|
@@ -156,18 +162,18 @@ Default to be 300 seconds. | |||||
|
||||||
Maximum duration before AWS API request will be interrupted. Default to be 120 seconds. | ||||||
|
||||||
*`var.s3_bucket`*:: | ||||||
*`var.bucket`*:: | ||||||
|
||||||
AWS S3 bucket ARN (Required when `var.queue_url` is not set). | ||||||
|
||||||
*`var.s3_bucket_number_of_workers`*:: | ||||||
*`var.number_of_workers`*:: | ||||||
|
||||||
Number of workers that will process the S3 objects listed (Required when `var.s3_bucket` is set). | ||||||
Number of workers that will process the S3 objects listed (Required when `var.bucket` is set). | ||||||
Use to vertically scale the input. | ||||||
|
||||||
*`var.s3_bucket_poll_interval`*:: | ||||||
*`var.bucket_list_interval`*:: | ||||||
|
||||||
Interval between list requests to the S3 bucket. Default to be 120 seconds. | ||||||
Wait interval between completion of a list request to the S3 bucket and beginning of the nest one. Default to be 120 seconds. | ||||||
There was a problem hiding this comment. Choose a reason for hiding this commentThe reason will be displayed to describe this comment to others. Learn more.
Suggested change
|
||||||
|
||||||
*`var.endpoint`*:: | ||||||
|
||||||
|
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
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
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
and same for the other sections below.