@elastic/correlate-logs
Find correlated log events across services
RUN SKILL correlate_logs()With parameters:
RUN SKILL correlate_logs WITH trace_id = 'value'| Name | Type | Default | Description |
|---|---|---|---|
| trace_id | STRING | — | Trace ID to correlate |
-- Using curl
curl -u elastic-admin:elastic-password http://localhost:9200/_escript \
-H "Content-Type: application/json" \
-d '{"query": "RUN SKILL correlate_logs()"}'
-- Response
{
"result": [...],
"_meta": {
"execution_id": "abc123",
"duration_ms": 45
}
}