-
Notifications
You must be signed in to change notification settings - Fork 41
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
CloudWatchLogs filterLogEvents empty events #8
Comments
I have the same issue? Any resolution? |
I have the same issue, cloudwatch log of lambda shows:
why is this happen? |
I was able to resolve by expanding the time window for cwl.filterLogEvents(). I just changed the offset multiplier to 2000 instead of 1000, like this: |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
I am trying to get CloudWatchLogs filterLogEvents by sending parameters. some times it work and sends me the exact logs in that time, but for the different lambda function it returns empty events with next token.
parameters = {
'logGroupName' : metricFilter.logGroupName, 'filterPattern' : metricFilter.filterPattern ? metricFilter.filterPattern : "", 'startTime' : timestamp - offset, 'endTime' : timestamp };
i am retrying by sending parameters with next token but its still getting empty events. Does anyone has idea about it?
{
"events": [],
"searchedLogStreams": [],
"nextToken": "long text"
}
The text was updated successfully, but these errors were encountered: