Set Up Elasticsearch, Logstash and Kibana (ELK) External Connection
Note
Make sure that the version of the external service matches the version specified in the docker-compose.yml
file.
Set up the following parameters for ELK in the
.env
file:ELASTICSEARCH_CONNECTION_STRING=http://external-server:9200 (external-server - IP address or DNS name of the server with Elasticsearch) ELASTICSEARCH_INDEX= (index name for TestGear) ELASTICSEARCH_LOGS_INDEX= (log index name)
In the
docker-compose.yml
file, comment or delete the sections with ELK, dependencies on other containers (all instances of ELK in the sectiondepends_on
), and the volume of the service (elastic-volume
) in thevolumes
list.Reinstall TestGear:
docker-compose -f docker-compose.yml --project-name prod up --detach --timeout 120 --remove-orphans