These instructions can get your local Kibana development environment set up to send logs, metrics, and traces directly to a development Elasticsearch cluster using the Elasticsearch OTLP/HTTP endpoint.
You might want to do this in development so you can have basic otel data without having to run a collector.
These instructions are for running locally in Serverless mode but most things apply for non-serverless also.
This is not a supported configuration and some parts of the Elastic Observability UI will not work as expected.