This project is no longer maintained. Logstash configs are now held in https://github.com/hmcts/ccd-docker (for local development) and https://github.com/hmcts/cnp-flux-config (for other environments).
This repository contains a pipeline to:
- build a Logstash image
- deploy an instance of Logstash which connects to a ccd Elastic Search cluster
The image and the Lostash instance will end up in a resource group called -logstash-, e.g. ccd-logstash-sandbox and will be connected to the ES cluster in ccd-elastic-search-
Multiple Logstash images can be built, their name is suffixed with a timestamp. The deploy considers only the latest image
Note: the ccd Elastic Search cluster must already exist for the Logstash deploy to be successful
Create Logstash instances of all services:
To create logstash instances of all services CCD is supporting execute build-logstash-instances.sh file from ccd-logstash folder
./bin/build-logstash-instances.sh
./build-logstash-instances.sh
Or run below docker-compose command from ccd-logstash folder
docker-compose -f build-logstash-instances.yml build
After executing one of the above commands you can see the below images in local docker repository.
**REPOSITORY TAG**
hmcts/ccd/logstash ccd-sscs-logstash-latest
hmcts/ccd/logstash ccd-probate-logstash-latest
hmcts/ccd/logstash ccd-ethos-logstash-latest
hmcts/ccd/logstash ccd-divorce-logstash-latest
hmcts/ccd/logstash ccd-cmc-logstash-latest
hmcts/ccd/logstash ccd-logstash-latest
hmcts/ccd/logstash ccd-sweeper-logstash-latest