Magento Asked by Andrej Bukin on November 8, 2021
There are two different recommendations/examples:
Magento docs about ELK setup and connections are wrong. a bit out of context.
ELK has its own security plugin to protect connections.
on the same server you can run ELK with 127.0.0.1:9200
, best option is to enable xpack.security
plugun, https://www.elastic.co/guide/en/elasticsearch/reference/current/security-settings.html
echo "discovery.type: single-node" >> /etc/elasticsearch/elasticsearch.yml
echo "xpack.security.enabled: true" >> /etc/elasticsearch/elasticsearch.yml
then generate passwords:
/usr/share/elasticsearch/bin/elasticsearch-setup-passwords auto
then in case you have remote connection on another server you can aslo use http auth built in.
then in magento admin ELK module settings add HTTP Auth name and password.
in some more complex setups https needs to be enabled, with domain and ssl cert avalable for ELK to connect between nodes.
about workload - you need to know that ELK stack takes too much memory and disk space, so its up to you - using the same server or separate.
Answered by MagenX on November 8, 2021
Get help from others!
Recent Answers
Recent Questions
© 2024 TransWikia.com. All rights reserved. Sites we Love: PCI Database, UKBizDB, Menu Kuliner, Sharing RPP