-
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] Investigate adding cloudwatch input #17292
Labels
Team:Platforms
Label for the Integrations - Platforms team
Comments
kaiyan-sheng
added
Filebeat
Filebeat
Team:Platforms
Label for the Integrations - Platforms team
labels
Mar 27, 2020
Pinging @elastic/integrations-platforms (Team:Platforms) |
andresrc
added
[zube]: Inbox
[zube]: Backlog
and removed
Filebeat
Filebeat
[zube]: Inbox
labels
Mar 29, 2020
6 tasks
Just for the record, here is the original draft PR: #16524 |
After comparing FilterLogEvents API and GetLogEvents API, we decide to use Several main reasons:
|
6 tasks
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
For collecting CloudWatch logs, CloudWatch API
GetLogEvents
orFilterLogEvents
can be used.GetLogEvents
can be used to lists log events from a specified log stream.FilterLogEvents
can be used to list log events from the specified log group.Limitation 1:
Using these two CloudWatch API to query logs is not very scalable due to the transactions per second (TPS) limits for
GetLogEvents
andFilterLogEvents
:Limitation 2:
By default,
GetLogEvents
andFilterLogEvents
operations return as many log events as can fit in 1 MB (up to 10,000 log events), or all the events found within the time range that you specify. If the results include a token, then there are more log events available, and you can get additional results by specifying the token in a subsequent call.Advantage:
Using CloudWatch API to get logs is much cheaper than using lambda functions.
The text was updated successfully, but these errors were encountered: