Skip to main content

Posts

Showing posts from August, 2014

How to analyse nova logs via logstash

In Elasticsearch family, there is a three that collects, analyses and plots logs, which I found quite beneficial. The three is  Logstash + Elasticsearch + Kibana. Logstash collects logs with various formats and parses them by using a given recipe. then parsed logs are stored into elasticsearch or another selected back-end. After all, using indexes in elasticsearch, Kibana will let you analyse logs in various ways with great visuality. In this post, I will quickly show how to work on openstack-nova logs on an already set up environment.

Change Default Editor in Debian

My favourite editor is vim in Linux. I am very comfortable with it. But when I need to do some come some configuration(e.g. crontab -e ), operating system opens it with default editor which is generally nano . This is annoying to me. Therefore, I generally change default editor with the following very simple step to vim :