opensearch-project / logstash-output-opensearch

A Logstash plugin that sends event data to a OpenSearch clusters and stores as an index.
https://opensearch.org/docs/latest/clients/logstash/index/
Apache License 2.0
107 stars 80 forks source link

[QUESTION] logstash appending 9200 to opensearch endpoint in k8s #240

Closed Siradjedd closed 9 months ago

Siradjedd commented 9 months ago

Describe the bug I exposed opensearch using ingress nginx on https://x.x.com, and i want logstash to remotly send logs to it ( they're in seperated clusters). then nginx will route the traffic to opensearch instance.

Expected behavior Send HTTP requests at https:/x.x.com then nginx controller routes it to opensearch instance.

Host/Environment (please complete the following information):

*Issue Logstash is appending 9200 to the endpoint ( https://x.x.com:9200), is there anyway to prevent it without editing the code source?

Siradjedd commented 9 months ago

Solution Added 443 port at the end of the endpoint ( x.x.x.com:443)