inspect_log
Retrieve the full _source of a log entry as YAML to inspect traceId, Kubernetes labels, exception stacks, and request bodies. Pass full:true for untruncated metadata.
Instructions
Returns the _source of one log entry as YAML. Use this when search shows a tantalizing single message and you need the full metadata: traceId, kubernetes labels, exception stack, request body, etc.
By default the output is trimmed to stay readable: the raw log string is dropped when its parsed logs.* object is present, every extendedStackTrace keeps its first 5 frames, kubernetes.annotations is collapsed to a count, and strings over 4000 chars are cut. Pass full: true to get the untouched _source.
Identifies the doc by timestamp (ISO with millisecond precision is usually unique). If multiple docs share the timestamp, pass include_filters (e.g. pod_name) to disambiguate. Only the first match is returned.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| full | No | If true, return the complete `_source` with no truncation (stack traces, annotations, duplicate raw `log`). Default false. | |
| timestamp | Yes | Exact ISO 8601 timestamp to match (e.g. '2026-05-06T06:49:57.647250Z'). | |
| environment | No | Which dashboard environment to search, as configured in the extension popup. The extension has not reported any environments yet, so omit this unless the user names one. | |
| include_filters | No | Optional disambiguation if multiple docs share the timestamp. |