-
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
Support running multiple log groups in cloudwatch input #29695
Support running multiple log groups in cloudwatch input #29695
Conversation
This pull request does not have a backport label. Could you fix it @kaiyan-sheng? 🙏
NOTE: |
💚 Build Succeeded
Expand to view the summary
Build stats
Test stats 🧪
💚 Flaky test reportTests succeeded. 🤖 GitHub commentsTo re-run your PR in the CI, just comment with:
|
This pull request is now in conflicts. Could you fix it? 🙏
|
Pinging @elastic/integrations (Team:Integrations) |
great refactoring! 👍 |
This pull request is now in conflicts. Could you fix it? 🙏
|
(cherry picked from commit ea8f10c)
) (cherry picked from commit ea8f10c) Co-authored-by: kaiyan-sheng <[email protected]>
@Mergifyio backport 7.17 |
❌ No backport have been created
|
@kaiyan-sheng & @v1v - Hey 👋 Quick question if that's okay: |
@kaiyan-sheng - please let us know if this is possible ^^ currently experiencing the same problem as Robson |
Hello, I backported this PR into 7.17 so it should be released with 7.17.6 version. |
@kaiyan-sheng - You absolute star 🌟 Thank you!! |
What does this PR do?
This PR is to fix
aws-cloudwatch
input whenlog_group_name_prefix
config parameter is given. With this PR, we should be able to specify anumber_of_workers
to control how many workers are running at the same time. This also represents how many log groups are being accessed at the same time to collect logs.This PR also migrates the aws-cloudwatch input to use Filebeat Input V2 and added integration test for it.
Checklist
CHANGELOG.next.asciidoc
orCHANGELOG-developer.next.asciidoc
.How to test this PR locally
In your test AWS environment, create several log groups starting with the same name, such as
/foo/test/log_group_1
,/foo/test/log_group_2
and etc. Also, create some log entries for testing. Then edit filebeat.yml to use theaws-cloudwatch
input to read logs:Related issues