I have multi services which generating at least 2 million of log message per day, I’m using logstash to form a doc and I create new index for every new day log, but I’m feeling it should have better way to handle it? Should I put all the log into one index regardless how many day? And make it 30 shards
If I just want to have one month logs rotation, Should my logstash ouput like this :
elasticsearch {
hosts => "127.0.0.1:9200"
manage_template => false
index => "appslog-%{+dd}"
}
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.