Skip to content

Commit b21fb2b

Browse files
author
Braden Olsen
committed
Adds filter to ListTenantLogsRequest
Adds a filter field to the ListTenantLogsRequest message, allowing users to filter tenant logs based on specific criteria such as a time range.
1 parent 9f4db0c commit b21fb2b

File tree

1 file changed

+7
-2
lines changed

1 file changed

+7
-2
lines changed

tcnapi/exile/gate/v2/public.proto

Lines changed: 7 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -476,9 +476,14 @@ message StreamJobsResponse {
476476

477477
/**
478478
* Request message for listing tenant logs.
479-
* Empty response indicates successful log retrieval.
479+
* Contains filter parameters for time range filtering.
480480
*/
481-
message ListTenantLogsRequest {}
481+
message ListTenantLogsRequest {
482+
// Optional. Filter for the returned logs.
483+
// Filter syntax follows AIP-160. For example:
484+
// `timestamp >= "2023-01-01T00:00:00Z" AND timestamp <= "2023-01-31T23:59:59Z"`
485+
string filter = 1;
486+
}
482487
}
483488

484489
/**

0 commit comments

Comments
 (0)