Category Archives: Logstash

[Logstash] Pattern set in grok.

The original warning message is this.

And here is the original server config.

So what we should do is modify the config. Using the match function to replace the pattern, like this.

Posted in Logstash | Leave a comment

[Logstash] LoadError: no such file to load — i18n

In CentOS 5.5, I want to install the logstash agent to forward logs. Because it was older system and no one would upgrade it, the original java version is 1.6. I always got the error about “LoadError: no such file … Continue reading

Posted in Logstash | Leave a comment

Logstash + Redis + Nginx + Kibana + ElasticSearch

環境: Ubuntu 14.04 x64 server 安裝Java環境

下載Logstash壓縮檔

基本測試

安裝Elasticsearch

設定Elasticsearch 編輯/etc/elasticsearch/elasticsearch.yml 取消cluster.name、node.name的注解並改成自己想要的 重新啟動Elasticsearch

安裝Redis

設定Redis 編輯/etc/redis/redis.conf,使用

重新啟動Redis

下載Kibana

編輯Kibana設定檔 編輯/var/www/kubana/config.js,使用

設定Logstash Server設定檔 編輯/etc/logstash/server.conf

測試Logstash能否以Server啟動

安裝Nginx

設定Nginx 編輯/etc/nginx/sites-enabled/default,使用 … Continue reading

Posted in Elasticsearch, Kibana, Logstash, Redis | Leave a comment