How to point logstash to my elasticcloud instance

Hello, I signed up for an elasticcloud trial and I'm trying to configure logstash to send my apache logs to my elasticcloud/elasticsearch instance.

I'm super confused about how to configure logstash.

The example here shows how to configure logstash when elasticsearch is running on localhost:
https://www.elastic.co/guide/en/logstash/current/configuration.html

The documentation here seems to imply that I only need to set cloud.id and cloud.auth
https://www.elastic.co/guide/en/logstash/current/connecting-to-cloud.html

But how do I connect the pipeline output to my cloud id? Is an output created automatically is I set cloud.id? If not, what do I fill in as "hosts" for my elasticsearch output?

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.