Setting the file. One moment.
Chapter 45 · Amazon Opensearch Service
Subchapter 45.44
references/trace-analytics-troubleshooting.mdMarkdown2 KBView on GitHub
| Error | Cause | Fix |
|---|---|---|
No trace data in otel-v1-apm-span-* | Pipeline not running or misconfigured | aws osis get-pipeline; check CloudWatch logs |
traceId not found | Trace hasn’t been indexed yet or retention expired | Verify time range; check ISM policy retention |
| PPL returns empty for OTel fields | Field not indexed or wrong name | Sample a doc first; OTel attributes are nested under attributes.* |
| Service map empty | Service map processor not configured | Verify OSI pipeline has index_type: trace-analytics-service-map sink |
| High latency on trace queries | Large index, no time filter | Always add time range: where startTime > DATE_SUB(NOW(), INTERVAL 1 HOUR) |
aws osis get-pipeline --pipeline-name <name>/aws/vendedlogs/OpenSearchIngestion/<pipeline-name>/GET /_cat/indices/otel-v1-apm-span-*parentSpanId field is populated in child spansxray:GetTraceSummaries and xray:BatchGetTraces permissions