class
Amazonite::CloudWatchLogs::QueryStatistics
- Amazonite::CloudWatchLogs::QueryStatistics
- Reference
- Object
Overview
Contains the number of log events scanned by the query, the number of log events that matched the query criteria, and the total number of bytes in the log events that were scanned.
If the query involved log groups that have field index policies, the estimated number of skipped log events and the total bytes of those skipped log events are included. Using field indexes to skip log events in queries reduces scan volume and improves performance. For more information, see Create field indexes to improve query performance and reduce scan volume.
Included Modules
- JSON::Serializable
Defined in:
cloudwatch_logs/query_statistics.crConstructors
- .new(pull : JSON::PullParser)
- .new(records_matched : Float64 | Nil = nil, records_scanned : Float64 | Nil = nil, estimated_records_skipped : Float64 | Nil = nil, bytes_scanned : Float64 | Nil = nil, estimated_bytes_skipped : Float64 | Nil = nil, log_groups_scanned : Float64 | Nil = nil, result_count : Float64 | Nil = nil)
- .new(*, __pull_for_json_serializable pull : JSON::PullParser)
Instance Method Summary
-
#==(other : self)
Returns
trueif this reference is the same as other. -
#bytes_scanned : Float64 | Nil
The total number of bytes in the log events scanned during the query.
-
#bytes_scanned=(bytes_scanned : Float64 | Nil)
The total number of bytes in the log events scanned during the query.
-
#estimated_bytes_skipped : Float64 | Nil
An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field.
-
#estimated_bytes_skipped=(estimated_bytes_skipped : Float64 | Nil)
An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field.
-
#estimated_records_skipped : Float64 | Nil
An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field.
-
#estimated_records_skipped=(estimated_records_skipped : Float64 | Nil)
An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field.
-
#hash(hasher)
See
Object#hash(hasher) -
#log_groups_scanned : Float64 | Nil
The number of log groups that were scanned by this query.
-
#log_groups_scanned=(log_groups_scanned : Float64 | Nil)
The number of log groups that were scanned by this query.
-
#records_matched : Float64 | Nil
The number of log events that matched the query string.
-
#records_matched=(records_matched : Float64 | Nil)
The number of log events that matched the query string.
-
#records_scanned : Float64 | Nil
The total number of log events scanned during the query.
-
#records_scanned=(records_scanned : Float64 | Nil)
The total number of log events scanned during the query.
-
#result_count : Float64 | Nil
The number of rows in the final query result set.
-
#result_count=(result_count : Float64 | Nil)
The number of rows in the final query result set.
- #validate! : Nil
Constructor Detail
Instance Method Detail
Returns true if this reference is the same as other. Invokes same?.
The total number of bytes in the log events scanned during the query.
The total number of bytes in the log events scanned during the query.
An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
An estimate of the number of bytes in the log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
An estimate of the number of log events that were skipped when processing this query, because the query contained an indexed field. Skipping these entries lowers query costs and improves the query performance time. For more information about field indexes, see PutIndexPolicy.
The number of log groups that were scanned by this query.
The number of log events that matched the query string.
The total number of log events scanned during the query.
The number of rows in the final query result set. This value represents the total number of
output rows across all pages. For queries that include post-aggregation filters (such as stats count(*) by field | filter count > threshold), this value might be less than recordsMatched.
It reflects only the rows that survived all operations in the query.
The number of rows in the final query result set. This value represents the total number of
output rows across all pages. For queries that include post-aggregation filters (such as stats count(*) by field | filter count > threshold), this value might be less than recordsMatched.
It reflects only the rows that survived all operations in the query.