We recently upgraded the UAT setup (which is also used by the devs) to 6.1.
An immediate consequence was that the Serilog sink for Elasticsearch stopped working. From the details it seems like it is the string getting replaced by text and _all support getting dropped proved to be breaking changes for Serilog.
So while we wait for the authors to release a patch I have to roll back the cluster to 5.x again. I am pushing my luck but is there a hidden compatibility mode somewhere in Elasticsearch which can allow it to run backward compatible? I am trying to avoid roll back to older version because of new features in Kibana.
Unfortunately not. Serilog will need to make any appropriate changes.
Just in case you're interested in what these two changes are about:
string was replaced by text back in 5.0 and we did add a "backwards compatibility layer" in at that time and kept it for all of 5.x. There are details about the change here.
The _all change is only for new indices in 6.x. So if you have an index that was created in 5.x, you can upgrade to 6.x and it will continue to work as-is.
The second of these may be a workaround for that one if you absolutely need to, but it sounds like Serilog is going to need to make updates regardless of whether the workaround works for one user.
Since I'm also not very familiar with the Serilog project and what it provides/suggests, I'll also mention a few other things that could help with your upgrade experience if they're options. One is that if you install X-Pack in 5.x, it comes with a cluster/index checker which checks if you're using any features that won't work in 6.x. I realize you may have already run into a few stumbling blocks with your upgrade, but I'd recommend using the utility to check anyway since there may be other things you haven't run into.
You should also check the deprecation log for any queries which may need to be upgraded. You can also turn that on with the upgrade assistant if you haven't already.
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.