About
Forward logs from your Elastic Cloud deployment into Sazabi using one of two paths: Elastic Agent running in OpenTelemetry Collector mode, or a Logstash pipeline that polls Elasticsearch and forwards records as OTLP log records. Choose the path that matches your existing infrastructure.Prerequisites
- Elastic Agent path: Elastic Agent 8.13 or later. Earlier versions do not support the embedded OTel Collector mode.
- Logstash path: Self-managed Logstash 8.x or 9.x running outside Elastic Cloud. Kibana’s Pipelines UI stores pipeline config but does not run Logstash itself.
- Your Sazabi intake URL, shown above — open the log source and copy the Intake URL from its setup screen (the public key is embedded in the URL)
Set up in the dashboard
- Elastic Agent
- Logstash
1
Prepare the Elastic Agent config
Use Elastic Agent in embedded OTel Collector mode (EDOT). Do not use Fleet Outputs for this — configure the OTel pipeline directly.Create a config file:sazabi-otel.yml
<your intake URL> with the intake URL shown above.2
Run Elastic Agent in OTel mode
3
Hand off the change
If this configuration is version-controlled, commit it on a new branch, push it, and open a pull request. Otherwise apply it directly to your Elastic Agent. Keep the intake URL and any keys in environment variables or a secret store, and commit only configuration that references them.Set up with the CLI
You can also register the Elastic Cloud log source with the Sazabi CLI (installed and authenticated — see CLI reference). Registering the source mints the same intake URL the dashboard shows above (the public key is embedded in its hostname):sazabi log-sources get <log-source-id> at any time to reprint the endpoint, or sazabi log-sources list to see every log source in the project.
Verify
Trigger log activity in your Elastic environment — ingest a log event, invoke an application, or wait for the next Logstash poll cycle. Open the Intake page in the Sazabi dashboard and confirm records from the Elastic Cloud source appear within a minute or two (or within one Logstash poll cycle for the Logstash path).Troubleshooting
Elastic Agent: no records after starting — Check the Elastic Agent output for errors from theotlphttp/sazabi exporter. Confirm the endpoint URL starts with https:// and the filelog receiver paths match log files that exist.
Logstash: no records after the first poll — Check Logstash logs for Elasticsearch connection errors or HTTP output errors. Confirm ES_PASSWORD is set in the Logstash environment and the Elasticsearch host URL is correct.
Logstash runs in Elastic Cloud — Kibana Pipelines stores config but Logstash must run outside Elastic Cloud. The HTTP output in the pipeline cannot originate from inside Elastic Cloud.
Further reading
Intake
See per-source ingestion volume and health.
OpenTelemetry Collector
Use the OpenTelemetry Collector as a standalone pipeline agent.
Log sources
Browse the full log source catalog.