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.
By default, this operation returns as much log events as can fit in a response size
of 1MB, up to 10,000 log events. The response will always include a
nextBackwardToken in the response body. You can use
any of these tokens in subsequent
to paginate through events in either forward or backward direction. You can also limit
the number of log events returned in the response by specifying the
parameter in the request.
Version: (assembly version)
public class GetLogEventsRequest : AmazonCloudWatchLogsRequest IRequestEvents
The GetLogEventsRequest type exposes the following members
|EndTime||System.DateTime||Gets and sets the property EndTime.|
Gets and sets the property Limit.
The maximum number of log events returned in the response. If you don't specify a value, the request would return as many log events as can fit in a response size of 1MB, up to 10,000 log events.
Gets and sets the property LogGroupName.
The name of the log group to query.
Gets and sets the property LogStreamName.
The name of the log stream to query.
Gets and sets the property NextToken.
A string token used for pagination that points to the next page of results. It must
be a value obtained from the
Gets and sets the property StartFromHead.
If set to true, the earliest log events would be returned first. The default is false (the latest log events are returned first).
|StartTime||System.DateTime||Gets and sets the property StartTime.|
Supported in: 4.5, 4.0, 3.5