Fs gateway parameters


(Ask Bjørn Hansen) #1

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

(Clinton Gormley) #2

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


(Ask Bjørn Hansen) #3

Indeed, thanks Clint!


(system) #4