Currently, I am testing logs analysis with ELK.
So, I start elastic search according to documentation.
- Click and run elasticsearch.bat under bin
- Config logstash.conf
input {
file {
path => "D:\xampp\apache\logs\access.log"
type => "apache-access" # a type to identify those logs (will need this later)
start_position => "beginning"
}
}
filter {
grok {
match=> { message => "%{COMBINEDAPACHELOG}" }
}
date {
locale => "en"
match => [ "timestamp", "dd/MMM/yyyy:HH:mm:ss Z" ]
timezone => "Europe/Rome"
}
}
output {
elasticsearch { hosts => ["localhost:9200"] }
stdout { codec => rubydebug }
}
- Strart and load logstash.conf with logstash -f logstash.conf in logstash.
- Run kibana.bat
And then I access the following link
http://localhost:5601/app/kibana
In this case I face the following
Kibana is loading. Give me a moment here. I'm loading a whole bunch of code. Don't worry, all this good stuff will be cached up for next time!
When I debug with browser console
show
So, How to solve this problem.
Please kindly let me know your opinion
Thanks all.