graylog_diagnose_code_logs
Correlate code log literals with runtime identifiers like traceId to diagnose issues and expand relevant Graylog trace keys.
Instructions
Correlate code log literals and runtime identifiers, then expand discovered trace keys.
Use this after reading relevant source and finding log statements. Pass stable literal text from those statements plus known values such as studentExamId, taskId, requestNo, or traceId. A business profile adds stage patterns and correlation keys without changing this tool.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| limit | No | ||
| profile | No | ||
| streams | No | ||
| to_time | No | ||
| from_time | No | ||
| identifiers | No | ||
| log_literals | No | ||
| range_seconds | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| notes | No | ||
| events | Yes | ||
| profile | No | ||
| queries | Yes | ||
| returned | Yes | ||
| truncated | Yes | ||
| correlations | Yes |