stack es cluster get-settings cli command
Auth required
Idempotent
Scope: global
elastic stack es cluster get-settings [options]
Get cluster-wide settings.
--[no-]flat-settings- If
true, returns settings in flat format. --[no-]include-defaults- If
true, also returns the values of all other cluster settings set in theelasticsearch.ymlfile on one of the nodes in your cluster, together with the default values of all other cluster settings on that node. The default value of each setting may depend on the values of other settings on that node. If the nodes in your cluster do not all have the same configuration then the values returned by this API may vary from invocation to invocation and may not reflect the values that Elasticsearch uses in all situations. Use theGET _nodes/settingsAPI to fetch the settings for each individual node in your cluster. --master-timeoutstring- Period to wait for a connection to the master node. If no response is received before the timeout expires, the request fails and returns an error.
--timeoutstring- Period to wait for a response. If no response is received before the timeout expires, the request fails and returns an error.
--input-filestring- path to a JSON file to use as command input
-V--[no-]version- Print the Elastic CLI version
--config-filestring- path to a config file (default: ~/.elasticrc.yml)
--use-contextstring- override the active context from the config file
--command-profilestring- restrict available commands to a deployment profile (serverless, stack, default)
--[no-]json- output as JSON
--output-fieldsstring- comma-separated list of fields to include in output (dot-notation supported)
--output-templatestring- Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--[no-]dry-run-
validate all inputs and exit without performing any action (preview changes without applying them)