Skip to content

Commit f970070

Browse files
committed
docs: add notes for query large size of data
1 parent 46f9e42 commit f970070

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

calico-enterprise/observability/elastic/policy-activity.mdx

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -95,6 +95,13 @@ POST /tigera_secure_ee_policy_activity*/_search
9595
}
9696
```
9797

98+
::: note
99+
100+
If you need to retrieve more than 10,000 logs, do not simply increase the size. Instead, use pagination (specifically the `search_after` parameter) to scroll through results efficiently.
101+
102+
[Learn more](https://www.elastic.co/docs/reference/elasticsearch/rest-apis/paginate-search-results)
103+
:::
104+
98105
### Step 2: Retrieve all network policies and rules
99106

100107
Export your current policy and rule inventory using `kubectl get ...` commands.

0 commit comments

Comments
 (0)