-
Notifications
You must be signed in to change notification settings - Fork 460
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
[GCP] Add cloudsql data streams #4126
Conversation
🌐 Coverage report
|
/test |
🚀 Benchmarks reportTo see the full report comment with |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
@gpop63 does this PR requires elastic/beats#33066? |
Yes, we should first merge the CloudSQL Metadata PR (elastic/beats#33066)) and then this one, because we need the metadata to identify which database type generated events. |
elastic/beats#33066 has been merged, so we can move forward with this once 8.6.0 is out. |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
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.
Just a minor comment but looks good!
processors: | ||
- drop: | ||
description: Drop if database is not MySQL. | ||
if: "ctx?.gcp?.labels?.cloudsql?.name != 'mysql'" |
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.
One thing I think will be useful in the future is to document how we built this check. Is not very clear where this label come from, if it can change or not and where to check in case this pipeline stops working.
Please document this in the cloudsql.md
file for future reference.
processors: | ||
- drop: | ||
description: Drop if database is not PostgreSQL. | ||
if: "ctx?.gcp?.labels?.cloudsql?.name != 'postgres'" |
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.
Same for this check.
processors: | ||
- drop: | ||
description: Drop if database is not SQLServer. | ||
if: "ctx?.gcp?.labels?.cloudsql?.name != 'sqlserver'" |
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.
Same for this check.
Package gcp - 2.24.0 containing this change is available at https://epr.elastic.co/search?package=gcp |
What does this PR do?
Adds CloudSQL data streams:
Checklist
changelog.yml
file.Author's Checklist
How to test this PR locally
Related issues
Screenshots