Snapshots on ES 5.4 generated with id name instead of index name

Hi all,

this is my first post here on the community forum.
So, i have this kind of issue. I've set up a new 5.6 cluster (1 master/2only data).
When i try to create snapshots, this is what i get:

drwxr-xr-x 1 root root  4096 Feb  5 00:20 MQ1xNGEsRSOw2uaLLKVfKA
drwxr-xr-x 1 root root  4096 Feb  5 00:20 fqjWjvuVSZ2vR-p1qSiFIQ
drwxr-xr-x 1 root root  4096 Feb  5 00:20 El8Pch0RTZeLgzDC5UxZWw
drwxr-xr-x 1 root root  4096 Feb  5 00:20 9OgOjIMhQCabnDKJKrPuDg
drwxr-xr-x 1 root root  4096 Feb  5 00:20 43f5maZ-TjKuQvOn7hTR1Q
drwxr-xr-x 1 root root  4096 Feb  5 00:20 rzHX0a6hRFKeZpMH7kvlLw
drwxr-xr-x 1 root root  4096 Feb  5 00:20 JX67f1CMRkCyQeBCwbTPrg
drwxr-xr-x 1 root root  4096 Feb  5 00:20 iMINlLLkQGOyxYUOB2vHPw
drwxr-xr-x 1 root root  4096 Feb  5 00:20 eWtvBNvQTIGY7vcKGruzeQ
drwxr-xr-x 1 root root  4096 Feb  5 00:20 4CU4a9ZCQKGilrY85c0INw

On the old cluster (V 2.) i got correct directory naming (each directory with the daily index name), es:

drwxr-xr-x 1 root root  4096 Feb  3 15:53 logstash-cronjob-logs-2017-01-20
drwxr-xr-x 1 root root  4096 Feb  3 15:53 logstash-cronjob-logs-2017-01-08
drwxr-xr-x 1 root root  4096 Feb  3 15:53 logstash-cronjob-logs-2017-01-04
drwxr-xr-x 1 root root  4096 Feb  3 15:53 logstash-cronjob-logs-2017-01-13
drwxr-xr-x 1 root root  4096 Feb  3 15:53 logstash-cronjob-logs-2017-01-17 

Could be that those indices were created previously on the old cluster ?

Thanks a lot.

This is expected behavior. You should not be interacting with snapshots or indices at the filesystem level. You should only interact with snapshots and indices via the appropriate API calls.

The index and snapshot names will be viewable via the API.

1 Like

Hi Aaron, thanks for the quick response.
Just tried and it works, thanks a lot for the suggestion!

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.