Skip to content

Commit

Permalink
Added the column tags and updated the labels column description
Browse files Browse the repository at this point in the history
  • Loading branch information
ParthaI committed Jan 17, 2024
1 parent ef7ae3f commit ae5cd99
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion gcp/table_gcp_logging_log_entry.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ func tableGcpLoggingLogEntry(_ context.Context) *plugin.Table {
},
{
Name: "labels",
Description: "A map of key, value pairs that provides additional information about the log entry. The labels can be user-defined or system-defined.User-defined labels are arbitrary key, value pairs that you can use to classify logs.System-defined labels are defined by GCP services for platform logs.",
Description: "A map of key, value pairs that provides additional information about the log entry. The labels can be user-defined or system-defined.User-defined labels are arbitrary key, value pairs that you can use to classify logs. System-defined labels are defined by GCP services for platform logs.",
Type: proto.ColumnType_JSON,
},

Expand All @@ -152,6 +152,12 @@ func tableGcpLoggingLogEntry(_ context.Context) *plugin.Table {
Type: proto.ColumnType_STRING,
Transform: transform.FromField("InsertId"),
},
{
Name: "tags",
Description: ColumnDescriptionTags,
Type: proto.ColumnType_JSON,
Transform: transform.FromField("Labels"),
},

// Standard GCP columns
{
Expand Down

0 comments on commit ae5cd99

Please sign in to comment.