วิธีการติดตั้ง Kibana บน Ubuntu 16.04
server.host: "192.168.xxx.yyy" elasticsearch.url: "http://your.elastic.host:9200"
sudo service kibana start
http://192.168.xxx.yyy:5601
ขั้นตอนการติดตั้ง Logstash บน Ubuntu 16.04
input { file { path => "/tmp/test.log" type=> "test" } } output { file { path => "/tmp/output.txt" } }
echo "$(date): New World" >> /tmp/test.log
ก็จะปรากฏไฟล์ /tmp/output.txt ขึ้น
input { file { path => "/tmp/test.log" type=> "test" } } output { elasticsearch { hosts => ["http://your.elastic.host:9200"] } }
ก็จะปรากฏบรรทัดใหม่ใน /tmp/output.txt และ มีการเขียนไปบน Elasticsearch ด้วย
แล้วยังไง ??? รอดูตอนต่อไป
ELK = ElasticSearch + LogStash + Kibana
วิธีการติดตั้ง ElasticSearch บน Ubuntu 16.04