Prerequisites
- Golf Gateway deployed and running
- Elasticsearch cluster (self-hosted or Elastic Cloud)
- API key with write permissions - See Create API keys in Elastic documentation
golf-gateway-* indices:
writecreate_indexmanage
Configure Elasticsearch export
- YAML
- Admin Portal
Self-Hosted Elasticsearch:Elastic Cloud:
Index naming
Golf Gateway creates daily indices with the pattern:golf-gateway-2026.01.08
Index mapping
The index mapping is created automatically with these key fields:Verify export is working
-
Check gateway health:
-
Generate some traffic, then search in Kibana:
Troubleshooting
- Connection refused: Verify Elasticsearch URL and network connectivity
- 401 Unauthorized: Check API key has correct permissions
- Index not created: Verify API key has
create_indexprivilege
Related guides
- Export Logs to OpenTelemetry - OTLP export
- Set Up Metrics and Monitoring - Health monitoring