We set path.repo on YAML file like below.
path:
repo:
-
But we are unable to add this path into kibana--> Snapshot --> Register Repository, it throws below error
Cannot register new repository
[test] failed to create repository
Also I tried using API
PUT /_snapshot/my_repository
{
"type": "fs",
"settings": {
"location":
}
}
It throws below error
{
"error" : {
"root_cause" : [
{
"type" : "repository_exception",
"reason" : "[my_repository] location [] doesn't match any of the locations specified by path.repo because this setting is empty"
}
],
"type" : "repository_exception",
"reason" : "[my_repository] failed to create repository",
"caused_by" : {
"type" : "repository_exception",
"reason" : "[my_repository] location [] doesn't match any of the locations specified by path.repo because this setting is empty"
}
},
"status" : 500
}
Please share your thoughts on this.