Skip to content

Commit 6680e92

Browse files
author
Dylan Huang
committed
update to 10,000
1 parent 9a88211 commit 6680e92

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

vite-app/src/components/LogsSection.tsx

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,7 +36,9 @@ export const LogsSection = observer(({ rolloutId }: LogsSectionProps) => {
3636
if (selectedLevel) {
3737
params.append("level", selectedLevel);
3838
}
39-
params.append("limit", "50");
39+
40+
// max is 10,000 so I set it to 10,000: https://www.elastic.co/docs/api/doc/elasticsearch/operation/operation-search#operation-search-size
41+
params.append("limit", "10000");
4042

4143
const fullUrl = `${apiUrl}/api/logs/${rolloutId}?${params}`;
4244
console.log("Attempting to fetch logs from:", fullUrl);

0 commit comments

Comments
 (0)