philhagen / sof-elk

Configuration files for the SOF-ELK VM
GNU General Public License v3.0
1.47k stars 276 forks source link

Enable Security for ELK stack #333

Closed Aquariius closed 1 month ago

Aquariius commented 1 month ago

Hi, I would like to activate security with SSL/TLS and login for Elasticsearch. I've managed to get Elasticsearch, Kibana, and the custom script working, but I'm having trouble with Logstash. I can't seem to find the configuration to change the output to https://127.0.0.1:9200. Could you help me with this?

philhagen commented 1 month ago

This would be an unsupported feature, as it's not part of the test matrix, but if you wanted to alter the output locations, you'd need to change the9000-output-elastic-consolidated.conf file. This documentation may be helpful as well: https://www.elastic.co/guide/en/logstash/current/plugins-outputs-elasticsearch.html#plugins-outputs-elasticsearch-hosts