Apache Brooklyn :: ELK
An example Apache Brooklyn application demonstrating an ELK stack (Elasticsearch, Logstash, Kibana)
This example demonstrates the deployment of an ELK Stack (Elasticsearch, Logstash and Kibana), using the provided blueprint to deploy, install, run and manage all three. Briefly, the component parts are:
- Elasticsearch: A clustered search engine
- Logstash: Collects, parses and stores logs. For our example it will store logs in Elasticsearch
- Kibana: A web front end to Elasticsearch
For more about the ELK stack, please see the documentation here.
The Blueprints
There are four blueprints that make up this application. Each of them are used to add one or more catalog items to Brooklyn. You can find them below:
- Elasticsearch
- Logstash
- Kibana
- ELK (WIP)
Adding ELK to brooklyn
br catalog add https://raw.githubusercontent.com/brooklyncentral/brooklyn-elk/master/catalog.bom
Examples
Elasticsearch
Kibana
Logstash
[For contributors] Release Process
Snapshot Release
In order to release a new snapshot version to Sonatype:
mvn deploy -DdeployTo=sonatype
Official Relesae
-
Create a new branch, e.g.
release/2.0.1
, and checkout that branch -
Update the version running the command below (and double-check that pom.xml was correctly updated):
GA_VERSION=2.0.1 ~/repos/brooklyn/brooklyn-dist/release/change-version.sh BROOKLYN_ELK ${GA_VERSION}-SNAPSHOT ${GA_VERSION}
-
Confirm it builds:
mvn clean install
-
Push release to sonatype, following the normal Sonatype process:
mvn deploy -DdeployTo=sonatype