$ ./elk
$ ./elk start
$ ./elk logs
$ ./elk stop
Filebeat agent should be installed in all the nodes which are suppose to send its logs to the ELK stack.
Installation guide can be fount at => https://www.elastic.co/guide/en/beats/filebeat/5.1/filebeat-installation.html
filebeat:
prospectors:
-
paths:
- "/opt/wso2/esb/repository/logs/*.log"
document_type: wso2
output:
redis:
hosts: ["redis"]
port: 6379
key: "logstash"