Pre-requisitesI have written this document assuming that we are using the below product versions.
Download the below versions of Elasticsearch, filebeat and Kibana.
Elasticsearch - 5.1.1
Filebeat - 5.1.1
Kibana - 5.1.1
How to configure Filebeat1. Download Filebeat to the server where you Carbon Product is running.
2. You can install it in any of the methods mentioned at .
3. Then, open up the filebeat.yml file and change the file path mentioned under filebeat.prospectors.
4. Configure the output.elasticsearch and point to the server where you are running Elasticsearch.
5. If you are using a template other that what's being used by default, you can change the configuration as below.
6. Once the above configuration are done, start your Filebeat server using the options given at .
Configuring ElasticSearch1. For better performance, it is requested to use Elasticsearch on JDK 1.8. Hence, as the first step, make sure you install JDK 1.8.0 on your machine before continuing with the rest of the steps mentioned here.
2. Install Elasticsearch using the below command
3. For the most basic scenario, you only need to configure the host by specifying the IP of the node that Elasticsearch is running on.
4. Now start the ElasticSearch server.
Viewing the logs from Kibana1. Extract Kibana to a preferred location.
2. Open the kibana.yml file and point to your Elasticsearch server.
3. Access the Kibana server from the URL http://localhost:5601 and you can view the WSO2 carbon logs.
 - https://www.elastic.co/guide/en/beats/filebeat/5.x/filebeat-installation.html
 - https://www.elastic.co/guide/en/beats/filebeat/5.x/filebeat-starting.html