Represents a telemetry log.
| JSON representation |
|---|
{
"name": string,
"data": string,
"logEntryTime": string,
"collectionTime": string,
"environmentNamespace": string,
"labels": {
string: {
object ( |
| Fields | |
|---|---|
name |
Output only. The resource name of this log. Format: projects/{project}/locations/{location}/instances/{instance}/logTypes/{logType}/logs/{log} |
data |
Required. Raw data for the log entry. A base64-encoded string. |
logEntryTime |
Required. Timestamp of the log entry. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
collectionTime |
Required. The time at which the log entry was collected. Must be after the logEntryTime. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples: |
environmentNamespace |
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. |
timeZone |
Optional. Location for the log entry, given as the name of a file in the IANA time zone database. This is used to determine the offset from UTC for the log entry data. If not supplied, times in the log entry data are assumed to be UTC. Ex: "America/New_York" See: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones |
LogLabel
Label for a user configured custom metadata key.
| JSON representation |
|---|
{ "value": string, "rbacEnabled": boolean } |
| Fields | |
|---|---|
value |
The value of the label. |
rbacEnabled |
Indicates whether this label can be used for Data RBAC. |