We index into daily indices from logstash e.g. my_index-%{+YYYY.MM.dd}. I would like to adjust the value of a setting on the elasticsearch output, but I only want that setting to take effect for the next day's index (not the current one). What is the best approach here?
Hmm, thinking about this some more... it's possible I may not need to do this.
I'm planning to upgrade the cluster from 6.8 to 7.4 (logstash is 6.8 too and we will upgrade that afterwards). I'm concerned that once the cluster is upgraded, logstash will start sending _doc where it was previously sending doc and elasticsearch will reject the documents as multiple document types aren't allowed. However, from what I gather, _doc is an endpoint rather than a document type, so when logstash tries to index documents to an index with a doc mapping type in elasticsearch 7, I should actually be fine, right?
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.