Getting Logstash to talk to Elastic Search with HT

2019-07-31 15:08发布

I have Elastic Search as part of the ELMA appliance. This appliance presents ES via HTTPS protected by basic auth. I have Logstash running on a separate machine. This Logstash needs to send log data to ES. What is the right output configuration to use?

Thanks for any pointers.

-Raj

2条回答
聊天终结者
2楼-- · 2019-07-31 15:37

there is an option in new version:

http://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-password

ssledit

Value type is boolean Default value is false SSL Configurations (HTTP only)

Enable SSL

查看更多
SAY GOODBYE
3楼-- · 2019-07-31 15:47

Looks like Logstash's elasticsearch_http module does not support SSL, or does not handle self-signed certs. My solution was to disable SSL on the ElasticSearch httpd conf entry in the ELMA appliance.

查看更多
登录 后发表回答