Can an elasticsearch cluster create indices in two different data directories

Hi All,

We are running Elasticsearch (ES) v8.7.0

There are various feeds coming into ES from various sources via Logstash.

I want to configure ES to create indices for one particular feed into a data directory which is different from the default data directory being used for the rest of the indices.

In short, is there a way two data directories (one default and the other custom) exists on each host in a cluster?

No, this is not possible.

You could run two ES nodes on each host, one for each data directory, and use shard allocation filtering to control which indices go to which nodes.