Methods
get
get
Fetch logs for various workload components, including Services, Jobs, Workflows, Job Runs, and Pods. Logs are filtered based on the provided query parameters.
Parameters
typing.Optional[int]
Start timestamp for querying logs, in nanoseconds from the Unix epoch.
typing.Optional[int]
End timestamp for querying logs, in nanoseconds from the Unix epoch.
typing.Optional[int]
Max number of log lines to fetch
typing.Optional[LogsSortingDirection]
🔗 LogsSortingDirectionDirection of sorting logs. Can be
asc or desctyping.Optional[int]
Number of logs corresponding to the starting timestamp to be ignored.
typing.Optional[str]
Application ID
typing.Optional[str]
Application FQN
typing.Optional[str]
Deployment ID
typing.Optional[str]
Name of the Job Run for which to fetch logs.
typing.Optional[str]
Name of Pod for which to fetch logs.
typing.Optional[str]
Name of the Container for which to fetch logs.
typing.Optional[typing.Union[str, typing.Sequence[str]]]
List of pod names for which to fetch logs.
typing.Optional[str]
Regex pattern for pod names to fetch logs.
typing.Optional[str]
JSON string containing array of search filters with string, type and operator
typing.Optional[str]
String that needs to be matched
typing.Optional[LogsSearchFilterType]
🔗 LogsSearchFilterTypeQuery filter type,
regex substring ignore_case_substringtyping.Optional[LogsSearchOperatorType]
🔗 LogsSearchOperatorTypeComparison operator for filter.
equal or not_equalReturns
GetLogsResponse
🔗 GetLogsResponseSuccessfully retrieved logs for the workload