Configure the Logging in a Cluster¶
All PLOSSYS 5 servers in a cluster have to transfer their log data to the same Elasticsearch server.
Perform the following configuration steps on <server_1>
, <server_2>
and <server_3>
:
-
Edit the following file on the PLOSSYS 5 server:
/opt/seal/etc/filebeat.yml
-
With
elasticsearch
, replacelocalhost
by the hostname or IP address of the management server:output: elasticsearch: hosts: - http://<admin_server>:9200
-
Save the file.
-
Specify the following key for the
seal-rest
service:ELASTICSEARCH_REST_URL
: URL of the Elasticsearch server
Example - setting key via PLOSSYS CLI
plossys config set ELASTICSEARCH_REST_URL "http://<admin_server>:9200" --service rest --insecure
Next Step¶
Continue with: Configure Consul in a Cluster