Resource: Log
Represents a telemetry log.
JSON representation |
---|
{
"name": string,
"data": string,
"log_entry_time": string,
"collection_time": string,
"environment_namespace": string,
"labels": {
string: {
object ( |
Fields | |
---|---|
name |
Output only. The resource name of this log. Format: projects/{project}/locations/{region}/instances/{instance}/logTypes/{log_type}/logs/{log} |
data |
Required. Raw data for the log entry. A base64-encoded string. |
log_entry_time |
Required. Timestamp of the log entry. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
collection_time |
Required. The time at which the log entry was collected. Must be after the log_entry_time. A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: |
environment_namespace |
Optional. The user-configured environment namespace to identify the data domain the logs originated from. This namespace will be used as a tag to identify the appropriate data domain for indexing and enrichment functionality. |
labels |
Optional. The user-configured custom metadata labels. An object containing a list of |
additionals |
Optional. Metadata in JSON format. |
LogLabel
Label for a user configured custom metadata key.
JSON representation |
---|
{ "value": string, "rbac_enabled": boolean } |
Fields | |
---|---|
value |
The value of the label. |
rbac_enabled |
Indicates whether this label can be used for Data RBAC. |
Methods |
|
---|---|
|
Export log telemetry. |
|
Gets a Log. |
|
Import log telemetry. |
|
Lists all Logs. |