Fs gateway parameters

Hi,

I tried setting up ES using the fs gateway with this .json
configuration:

{
"cluster" : {
"name" : "Elastic"
},
"index" : {
"gateway" : {
type: "fs",
"fs": {
snapshot_interval: "30s",
location: "/home/elastic/store/"
}
}
}
}

However, whenever I try to store anything it errors out with:

[WARN ][index.gateway.fs ] [Albino] [test] index gateway is
configured, but no cluster level gateway configured, cluster level
metadata will be lost on full shutdown

What am I missing?

I tried it both in a single-node configuration and having two nodes
running in a mini-cluster.

  • ask

Hi Ask

[WARN ][index.gateway.fs ] [Albino] [test] index gateway is
configured, but no cluster level gateway configured, cluster level
metadata will be lost on full shutdown

What am I missing?

Try it with this:

{
"cluster" : {
"name" : "Elastic"
},
"gateway" : {
type: "fs",
"fs": {
snapshot_interval: "30s",
location: "/home/elastic/store/"
}
}
}

clint

Indeed, thanks Clint!