Skip to main content

LogDiscoveryResponse

service_namestring

Service name

time_range object
startstring<date-time>

Start of time range

endstring<date-time>

End of time range

total_countinteger<int64>

Total number of logs in the time range

severity_levels object[]

Breakdown of logs by severity level

  • Array [
  • levelstring

    Severity level name

    countinteger<int64>

    Number of logs with this severity

  • ]
  • log_attribute_keysstring[]

    Available log attribute keys

    resource_attribute_keysstring[]

    Available resource attribute keys

    scope_namesstring[]

    Available scope names

    LogDiscoveryResponse
    {
    "service_name": "string",
    "time_range": {
    "start": "2024-07-29T15:51:28.071Z",
    "end": "2024-07-29T15:51:28.071Z"
    },
    "total_count": 0,
    "severity_levels": [
    {
    "level": "string",
    "count": 0
    }
    ],
    "log_attribute_keys": [
    "string"
    ],
    "resource_attribute_keys": [
    "string"
    ],
    "scope_names": [
    "string"
    ]
    }
    Was this page helpful?