ELK Stack
ELK Stack
ELK Stack
============
=> By using the above 3 products we can implement Log Aggregation and Logs
Monitoring
===========
ELK Setup
===========
3) Run elasticsearch using elasticsearch.bat file (make sure all security settings
disable in elasticsearch.yml before running)
$ elasticsearch.bat
5) Run kibana using kibana.bat file (before running kibana, enable elasticsearch
url in kibana.yml file)
$ kibana.bat
7) Run Spring Boot Application and generate log file with log messages
input {
file {
path =>
"C:/Users/ashok/classes/22-JRTP/workspace/SpringBoot_REST_API/app.log"
start_position => "beginning"
}
}
output {
elasticsearch {
hosts => ["http://localhost:9200"]
}
}
$ logstash -f logstash-sample.conf