Setting the file. One moment.
Chapter 45 · Amazon Opensearch Service
Subchapter 45.15
references/log-analytics-troubleshooting.mdMarkdown2 KBView on GitHub
| Error | Cause | Fix |
|---|---|---|
403 Forbidden on PPL query | Missing data access policy or FGAC role | Add IAM principal to data access policy; for AOS, map IAM role in Dashboards |
index_not_found_exception | Wrong index pattern or no data ingested | List indices with GET /_cat/indices; verify OSI pipeline is running |
PPL syntax error | Unquoted dotted field name | Backtick-quote: `log.level` not log.level |
| OSI pipeline STOPPED | Role permission issue or sink unreachable | Check pipeline logs in CloudWatch; verify role trust policy |
SearchPhaseExecutionException | Query too broad, OOM | Add head 1000 to limit results; narrow time range with where |
| Subscription filter not delivering | Wrong destination ARN or permission | Verify pipeline ARN format and logs:PutSubscriptionFilter permission |
aws osis get-pipeline --pipeline-name <name>/aws/vendedlogs/OpenSearchIngestion/<pipeline-name>/aws iam simulate-principal-policy --action-names logs:GetLogEventscurl -XPOST using SigV4source = <index> | head 5 — verify accessGET /<index>/_mapping — confirm exact field pathspatterns returns nothing: ensure there are enough documents (needs ≥10 for pattern detection)