For my filebeat rollover to work it expects an alias to be set on the index. In the past you were able to pass along a rollover_alias in the filebeat config but that is not possible anymore.
I found you can manually set an alias on in index using PUT /filebeat-8.4.2/_alias/filebeat, but is it possible to include this in the index template so this manual step can be skipped?
With the previous post you linked it's supposed to be using a data stream in elastic. But following that post myself doesn't seem to create it as a data stream.
This is currently my config, please note that indenting might look slightly different cause I run it on kubernetes;
Kinda funny thing if you just wanted filebeat-8.4.1 you did not need to do anything... that is the default... quite literally you did not need to set anything that is the default behavior.
Often when people get started I highly advise the to start with the defaults ... get things working then if you want to rename indices / data streams etc then do it.
I thought you wanted to rename the data stream that is what I showed you..
If you are just getting started don't do that and let all the goodness of the defaults take place
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.