Creates docker containers to run ElasticSearch, Kibana and LogStash collectors
Edit elk-dashboard/logstash/pipeline/logstash.conf and replace <BIT_BUCKET_TOKEN> with your BitBucket Personal access tokens
# setup the containers
docker-compose up -d
# or to update the containers
docker-compose up -d --build
The BitBucket collector is configured to run once when the container is first started and imports projects, repos and pull requests into separate indexes in ElasticSearch.
View LogStash log output
docker-compose logs logstash
Re-run LogStash pipeline
docker-compose restart logstash
The Jenkins collector listens on port 9000 for data from the Jenkins LogStash plugin In Jenkins configure a Post Build Action to send the build data to LogStash
Kibana http://localhost:5601/
You will need to create index patters in Kinana for the project, repo and pull_request indexes before you can view the documents in Discover