From 2009d83606a9f296a11224ee8f15aef4fa6daaf3 Mon Sep 17 00:00:00 2001 From: Zach Margolis Date: Fri, 21 Jun 2024 08:52:36 -0700 Subject: [PATCH] Update documentation for query-cloudwatch to explain --complete flag (#574) --- _articles/devops-scripts.md | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/_articles/devops-scripts.md b/_articles/devops-scripts.md index 71e536a8..4ac8f3aa 100644 --- a/_articles/devops-scripts.md +++ b/_articles/devops-scripts.md @@ -393,9 +393,15 @@ In the web UI, cloudwatch results are limited to: So to get around that, we have a script that can help split up the query into multiple slices of time and help combine the results, use the `--slice` to -specify different slice durations. Use the `--complete` flag to automatically -split up slices that have 10k responses (the limit) to ensure a complete +specify different slice durations. + +Use the `--complete` flag to automatically split up slices that have 10k responses (the limit) to ensure a complete listing of results. + - **Note**: When using `--complete`, the query itself *must* contain a limit of 10k, otherwise the script will not be able to effectively detect missing data. + ``` +| limit 10000 + ``` + ```bash aws-vault exec sandbox-power -- \