Este producto no es compatible con el sitio Datadog seleccionado. ().
Esta página aún no está disponible en español. Estamos trabajando en su traducción.
Si tienes alguna pregunta o comentario sobre nuestro actual proyecto de traducción, no dudes en ponerte en contacto con nosotros.

gcp_logging_saved_query

ancestors

Type: UNORDERED_LIST_STRING

create_time

Type: TIMESTAMP
Provider name: createTime
Description: Output only. The timestamp when the saved query was created.

description

Type: STRING
Provider name: description
Description: Optional. A human readable description of the saved query.

gcp_display_name

Type: STRING
Provider name: displayName
Description: Required. The user specified title for the SavedQuery.

labels

Type: UNORDERED_LIST_STRING

logging_query

Type: STRUCT
Provider name: loggingQuery
Description: Logging query that can be executed in Logs Explorer or via Logging API.

  • filter
    Type: STRING
    Provider name: filter
    Description: Required. An advanced query using the Logging Query Language (https://cloud.google.com/logging/docs/view/logging-query-language). The maximum length of the filter is 20000 characters.
  • summary_field_end
    Type: INT32
    Provider name: summaryFieldEnd
    Description: Characters will be counted from the end of the string.
  • summary_field_start
    Type: INT32
    Provider name: summaryFieldStart
    Description: Characters will be counted from the start of the string.
  • summary_fields
    Type: UNORDERED_LIST_STRUCT
    Provider name: summaryFields
    Description: Optional. The set of summary fields to display for this saved query.
    • field
      Type: STRING
      Provider name: field
      Description: Optional. The field from the LogEntry to include in the summary line, for example resource.type or jsonPayload.name.

name

Type: STRING
Provider name: name
Description: Output only. Resource name of the saved query.In the format: “projects/[PROJECT_ID]/locations/[LOCATION_ID]/savedQueries/[QUERY_ID]” For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support#bucket-regions)After the saved query is created, the location cannot be changed.If the user doesn’t provide a QUERY_ID, the system will generate an alphanumeric ID.

ops_analytics_query

Type: STRUCT
Provider name: opsAnalyticsQuery
Description: Analytics query that can be executed in Log Analytics.

  • sql_query_text
    Type: STRING
    Provider name: sqlQueryText
    Description: Required. A logs analytics SQL query, which generally follows BigQuery format.This is the SQL query that appears in the Log Analytics UI’s query editor.

organization_id

Type: STRING

parent

Type: STRING

project_id

Type: STRING

project_number

Type: STRING

resource_name

Type: STRING

tags

Type: UNORDERED_LIST_STRING

update_time

Type: TIMESTAMP
Provider name: updateTime
Description: Output only. The timestamp when the saved query was last updated.

visibility

Type: STRING
Provider name: visibility
Description: Required. The visibility status of this query, which determines its ownership.
Possible values:

  • VISIBILITY_UNSPECIFIED - The saved query visibility is unspecified. A CreateSavedQuery request with an unspecified visibility will be rejected.
  • PRIVATE - The saved query is only visible to the user that created it.
  • SHARED - The saved query is visible to anyone in the project.