Support running multiple log groups in cloudwatch input#29695
Support running multiple log groups in cloudwatch input#29695kaiyan-sheng merged 13 commits intoelastic:masterfrom kaiyan-sheng:fix_cloudwatch_input
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)
|
@Mergifyio backport 7.17 |
❌ No backport have been createdDetails
|
|
@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-cloudwatchinput whenlog_group_name_prefixconfig parameter is given. With this PR, we should be able to specify anumber_of_workersto 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.asciidocorCHANGELOG-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_2and etc. Also, create some log entries for testing. Then edit filebeat.yml to use theaws-cloudwatchinput to read logs:Related issues