We are aware that we will face this issue in the near future but I'm kind of surprised that you already hit this issue now as the total number of fields in metricbeat should be still < 1000. Do you have anything else in this index? Can you share your config file?
output {
if [type] == 'metricsets' {
elasticsearch {
index => "logstash-metricbeat-%{+xxxx.ww}"
document_type => "%{[@metadata][type]}"
Weekly, as you can see above.
In short, yes I did, and it's described more here.
Since 2 November I've been using a metricbeat that I built myself, at whatever versions of things at that time. I have nothing else in those indices (logstash-metricbeat-2016.{44-47}), and no earlier logstash-metricbeat-* indices. I wonder if it's time to build the binary again from current sources.
Thanks for all the details. My current assumption is that one weekly indices has > 1000 fields which is probably the one around november 2 when you first started with Logstash and applying templates. I expect all current indices don't have that many fields.
I would recommend you to load the new template for 5.x so it will apply on the new indices.
It would be interesting to see what your current mapping is to see if there are some fields inside we are not aware of: GET /metricbeat-*/_mapping This will be quite long, so best put it into a gist.
Sorry for the slow reply. I've updated the relevant topic with some detail (that is, I manually downloaded and installed the template), and now wonder about the version issue. I have successfully upgraded 2.3 -> 5.0, so should I now manually replace the template with a 5.0 one?
In case you didn't make any adjustments to the template, I strongly recommend to overwrite it. You don't have to do it manually but can set overwrite to true in the metricbeat config file. As long as you don't modify the template yourself, having overwrite to true can become an issue if you have multiple metricbeat instances with different versions at the same time. But overwriting only happens once on startup.
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.