Index
Logs
(interface)ListLabelValuesRequest
(message)ListLabelValuesResponse
(message)ListLabelsRequest
(message)ListLabelsResponse
(message)ListLogsFilter
(message)ListLogsRequest
(message)ListLogsResponse
(message)Log
(message)
Logs
Provides operations for logs in the time series database.
ListLabelValues |
---|
Lists all label values in the time series database that match the request conditions. |
ListLabels |
---|
Lists all the labels for log streams in the time series database that match the request conditions. |
ListLogs |
---|
Lists all logs across all times series that match the request conditions. |
ListLabelValuesRequest
Request message to list all values of a given label.
Fields | |
---|---|
parent |
Required. The name of the project from which labels are listed. |
label |
Required. The name of the label from which values are listed. |
page_size |
The maximum number of values to return. The service might return fewer values than what this field specifies. If unspecified, at most 100 logs are returned. The maximum value is |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
start_time |
The earliest timestamp from which to list labels. |
end_time |
The latest timestamp from which to list labels. |
ListLabelValuesResponse
Response message to list all values of a given label.
Fields | |
---|---|
values[] |
A list of all values for the given label. |
next_page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListLabelsRequest
Request message to get a list of log stream labels.
Fields | |
---|---|
parent |
Required. The project from which to list labels from. |
page_size |
The maximum number of values to return. The service might return fewer than what this field specifies. If unspecified, at most 100 labels are returned. The maximum value is |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
start_time |
The earliest timestamp from which to list log stream labels. |
end_time |
The latest timestamp from which to list log stream labels. |
ListLabelsResponse
Response message for getting list of log stream labels.
Fields | |
---|---|
labels[] |
The labels found in the time series database. |
next_page_token |
A token, which can be sent as |
ListLogsFilter
Message representing the filtering conditions on which log streams must be returned from the ListLogs
request.
Fields | |
---|---|
labels_equal |
The values to which each log stream returned must have the labels set. |
labels_not_equal |
The values to which each log stream returned must not have the labels set. |
labels_match_regex |
The regular expression to which each log stream returned must have the labels matched. |
order_ascending |
An indicator determining whether logs must be returned in ascending (oldest first) order. |
start_time |
The earliest timestamp from which to start collecting logs. |
end_time |
The latest timestamp from which to start collecting logs. |
ListLogsRequest
Request message to list logs in a given log stream.
Fields | |
---|---|
parent |
Required. The project from which to list logs. |
logs_filter |
Filter to limit the scope of the logs based on Loki labels and times. |
page_size |
The maximum number of values to return. The service might return fewer values than what this field specifies. If unspecified, at most 100 logs are returned. The maximum value is |
page_token |
A page token, received from a previous When paginating, all other parameters provided to |
ListLogsResponse
Response method from the ListLogs
function returning logs that match the request conditions.
Fields | |
---|---|
logs[] |
The logs found in the time series database. |
next_page_token |
A token, which can be sent as |
Log
Message representing one log message.
Fields | |
---|---|
produced_time |
The time at which this log was produced. |
labels |
The labels associated with the time series this log came from. |
log |
The log message, which is a key-value map. |