Should all settings in elasticsearch.yml file appear when queried via the rest API?

...because mine do not.

When I bring up my cluster, and query the cluster settings api via Sense:

GET /_cluster/settings?v

I get

{}

Then if I update the cluster settings via the API call like:

PUT /_cluster/settings?master_timeout=3000000
{
    "persistent" : {
        "cluster.routing.allocation.cluster_concurrent_rebalance" : 6,
        "indices.store.throttle.type" : "none",
        "indices.store.throttle.max_bytes_per_sec" : "50mb"
    }
}

Then I only see those settings:

{
   "persistent": {
      "indices": {
         "store": {
            "throttle": {
               "type": "none",
               "max_bytes_per_sec": "50mb"
            }
         },
      },
      "cluster": {
         "routing": {
            "allocation": {
               "cluster_concurrent_rebalance": "6",
               "disk": {
                  "watermark": {
                     "low": "98%"
                  }
               }
            }
         }
      }
   },
   "transient": {}
}

Is this expected behavior? I was definitely thinking I would see everything in my .yml file reflected in the API query!

Thanks!
Chris

No, it doesn't show everything.

There's no single place to get all the config options, but I have FR in for it so hopefully we'll see something :slight_smile:

Thank you sir :smile:
I'll assume that if I put it in the .yml file, it really did get applied! :wink:

Chris

It will, yes.