Logstash - Configure logstash-indexer the right way to avoid high CPU usage
In the previous blog post about setting logstash with ElasticSearch ( here ), I was output like this: input { redis { host => "127.0.0.1" data_type => "list" key => "logstash" codec => json } } output { elasticsearch { embedded => true } } As you can see, what logstash does is only move logs from redis to elasticsearch. There is no way it needs a lot of cpu power as I pointed out in the previous blog post. What's wrong? After a while searching around Google and digging the logstash documentation, I found out the reason. It is the " embbedded " option in my configuration. According to the logstash documentation about storing logs to elasticsearch: embedded Value type is boolean Default value is false Run the elasticsearch server embedded in this process . This option is useful if you wan