Deploy Elasticsearch and Kibana

Deploy Elasticsearch and Kibana

The deployment of Elasticsearch and Kibana consists of the server and the client deployment.

To deploy Elasticsearch and Kibana:

  1. Log in to the Salt Master node.

  2. Deploy the Elasticsearch and Kibana services:

    salt -C 'I@elasticsearch:server' state.sls elasticsearch.server -b 1
    salt -C 'I@kibana:server' state.sls kibana.server -b 1
    
  3. Deploy the Elasticsearch and Kibana clients that will configure the corresponding servers:

    salt -C 'I@elasticsearch:client' state.sls elasticsearch.client
    salt -C 'I@kibana:client' state.sls kibana.client
    
  4. Apply the haproxy state on the log nodes:

    salt 'log*' state.sls haproxy