Elasticsearch 8 single node replicas 0

Hi all,

I have the same problem, I have a single node with 0 replica and since ELK 8.0 all of my indexes are in yellow state. I follow this fix to resolve the problem and he work except for data streams. Setting index.number_of_replicas => 0 by default in ES >= 5. I manually index data streams to recover a green state. Any help would be appreciate to auto indexing the data streams.

Thanks.