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 logStreamNames
.
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 nextToken
, then
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 searchedLogStreams
that contains information about which streams were searched in the request and whether
they have been searched completely or require further pagination. The limit
parameter in the request. can be used to specify the maximum number of events to return
in a page.
Namespace: Amazon.CloudWatchLogs
Assembly: AWSSDK.dll
Version: (assembly version)
public virtual FilterLogEventsResponse FilterLogEvents( FilterLogEventsRequest request )
Container for the necessary parameters to execute the FilterLogEvents service method.
Exception | Condition |
---|---|
InvalidParameterException | Returned if a parameter of the request is incorrectly specified. |
ResourceNotFoundException | Returned if the specified resource does not exist. |
ServiceUnavailableException | Returned if the service cannot complete the request. |
.NET Framework:
Supported in: 4.5, 4.0, 3.5