Effect on having one or more path.data?

(sophie ferry) #1

HEllo there,
I am studying the ELK stack, and i cannot find the answer:
what is the use of multiple path ?
It looks like indices are copied to the x number of paths, so no space gain. Is that correct?
Does it give more efficiency in indexing/searching?
Is it related to shards ?
Thanks
Regards
Sophie

(George) #2

Hi there,

Using more than one value in path.data will cause the data to be spread (not copied) over those paths. Files for a particular shard will be stored in the same directory.

As far as I'm aware, as all data for any shard is still in one place and there are no other optimisations made, there's no indexing/searching benefit to using multiple paths.

There's some information here

Hope this helps.