This product is not supported for your selected Datadog site. ().
Cette page n'est pas encore disponible en français, sa traduction est en cours.
Si vous avez des questions ou des retours sur notre projet de traduction actuel, n'hésitez pas à nous contacter.

gcp_logging_recent_query

ancestors

Type: UNORDERED_LIST_STRING

labels

Type: UNORDERED_LIST_STRING

last_run_time

Type: TIMESTAMP
Provider name: lastRunTime
Description: Output only. The timestamp when this query was last run.

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 recent query.In the format: “projects/[PROJECT_ID]/locations/[LOCATION_ID]/recentQueries/[QUERY_ID]” For a list of supported locations, see Supported Regions (https://cloud.google.com/logging/docs/region-support)The QUERY_ID is a system generated 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