AWS services or capabilities described in AWS Documentation may vary by region/location. Click Getting Started with Amazon AWS to see specific differences applicable to the China (Beijing) Region.
timestamp. You can limit the streams searched to an explicit list of
By default, this operation returns as much matching log events as can fit in a response
size of 1MB, up to 10,000 log events, or all the events found within a time-bounded
scan window. If the response includes a
there is more data to search, and the search can be resumed with a new request providing
the nextToken. The response will contain a list of
that contains information about which streams were searched in the request and whether
they have been searched completely or require further pagination. The
parameter in the request. can be used to specify the maximum number of events to return
in a page.
Version: (assembly version)
public class FilterLogEventsRequest : AmazonCloudWatchLogsRequest IRequestEvents
The FilterLogEventsRequest type exposes the following members
Gets and sets the property EndTime.
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp later than this time are not returned.
Gets and sets the property FilterPattern.
A valid CloudWatch Logs filter pattern to use for filtering the response. If not provided, all the events are matched.
Gets and sets the property Interleaved.
If provided, the API will make a best effort to provide responses that contain events from multiple log streams within the log group interleaved in a single response. If not provided, all the matched log events in the first log stream will be searched first, then those in the next log stream, etc.
Gets and sets the property Limit.
The maximum number of events to return in a page of results. Default is 10,000 events.
Gets and sets the property LogGroupName.
The name of the log group to query.
Gets and sets the property LogStreamNames.
Optional list of log stream names within the specified log group to search. Defaults to all the log streams in the log group.
Gets and sets the property NextToken.
A pagination token obtained from a
Gets and sets the property StartTime.
A point in time expressed as the number of milliseconds since Jan 1, 1970 00:00:00 UTC. If provided, events with a timestamp prior to this time are not returned.
Supported in: 4.5, 4.0, 3.5