Display default Elasticsearch settings.

Cluster level

Display cluster settings.

$ curl --silent "http://127.0.0.1:9200/_cluster/settings?pretty=true"
{
  "persistent" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_ip" : "192.168.201.104,192.168.201.105"
          }
        }
      }
    }
  },
  "transient" : { }
}

Display cluster settings including default values.

$ curl --silent "http://127.0.0.1:9200/_cluster/settings?include_defaults=true&pretty=true"
{
  "persistent" : {
    "cluster" : {
      "routing" : {
        "allocation" : {
          "exclude" : {
            "_ip" : "192.168.201.104,192.168.201.105"
          }
        }
      }
    }
  },
  "transient" : { },
  "defaults" : {
    "cluster" : {
      "max_voting_config_exclusions" : "10",
      "auto_shrink_voting_configuration" : "true",
      "election" : {
        "duration" : "500ms",
        "initial_timeout" : "100ms",
        "max_timeout" : "10s",
        "back_off_time" : "100ms",
        "strategy" : "default"
      },
      "no_master_block" : "write",
      "persistent_tasks" : {
        "allocation" : {
          "enable" : "all",
          "recheck_interval" : "30s"
        }
      },
      "blocks" : {
        "read_only_allow_delete" : "false",
        "read_only" : "false"
      },
      "remote" : {
        "node" : {
          "attr" : ""
        },
        "initial_connect_timeout" : "30s",
        "connect" : "true",
        "connections_per_cluster" : "3"
      },
      "follower_lag" : {
        "timeout" : "90000ms"
      },
      "routing" : {
        "use_adaptive_replica_selection" : "true",
        "rebalance" : {
          "enable" : "all"
        },
        "allocation" : {
          "node_concurrent_incoming_recoveries" : "2",
          "node_initial_primaries_recoveries" : "4",
          "same_shard" : {
            "host" : "false"
          },
          "total_shards_per_node" : "-1",
          "shard_state" : {
            "reroute" : {
              "priority" : "NORMAL"
            }
          },
          "type" : "balanced",
          "disk" : {
            "threshold_enabled" : "true",
            "watermark" : {
              "low" : "85%",
              "flood_stage" : "95%",
              "high" : "90%"
            },
            "include_relocations" : "true",
            "reroute_interval" : "60s"
          },
          "awareness" : {
            "attributes" : [ ]
          },
          "balance" : {
            "index" : "0.55",
            "threshold" : "1.0",
            "shard" : "0.45"
          },
          "enable" : "all",
          "node_concurrent_outgoing_recoveries" : "2",
          "allow_rebalance" : "indices_all_active",
          "cluster_concurrent_rebalance" : "2",
          "node_concurrent_recoveries" : "2"
        }
      },
      "indices" : {
        "tombstones" : {
          "size" : "500"
        },
        "close" : {
          "enable" : "true"
        }
      },
      "nodes" : {
        "reconnect_interval" : "10s"
      },
      "service" : {
        "slow_master_task_logging_threshold" : "10s",
        "slow_task_logging_threshold" : "30s"
      },
      "publish" : {
        "timeout" : "30000ms",
        "info_timeout" : "10000ms"
      },
      "name" : "elasticsearch-single-node-cluster",
      "fault_detection" : {
        "leader_check" : {
          "interval" : "1000ms",
          "timeout" : "10000ms",
          "retry_count" : "3"
        },
        "follower_check" : {
          "interval" : "1000ms",
          "timeout" : "10000ms",
          "retry_count" : "3"
        }
      },
      "join" : {
        "timeout" : "60000ms"
      },
      "max_shards_per_node" : "1000",
      "initial_master_nodes" : [ ],
      "info" : {
        "update" : {
          "interval" : "30s",
          "timeout" : "15s"
        }
      }
    },
    "logger" : {
      "level" : "INFO"
    },
    "bootstrap" : {
      "memory_lock" : "false",
      "system_call_filter" : "true",
      "ctrlhandler" : "true"
    },
    "processors" : "2",
    "ingest" : {
      "user_agent" : {
        "cache_size" : "1000"
      },
      "geoip" : {
        "cache_size" : "1000"
      },
      "grok" : {
        "watchdog" : {
          "max_execution_time" : "1s",
          "interval" : "1s"
        }
      }
    },
    "network" : {
      "host" : [
        "10.0.2.15"
      ],
      "tcp" : {
        "reuse_address" : "true",
        "keep_count" : "-1",
        "connect_timeout" : "30s",
        "keep_interval" : "-1",
        "no_delay" : "true",
        "keep_alive" : "true",
        "receive_buffer_size" : "-1b",
        "keep_idle" : "-1",
        "send_buffer_size" : "-1b"
      },
      "bind_host" : [
        "10.0.2.15"
      ],
      "server" : "true",
      "breaker" : {
        "inflight_requests" : {
          "limit" : "100%",
          "overhead" : "2.0"
        }
      },
      "publish_host" : [
        "10.0.2.15"
      ]
    },
    "pidfile" : "",
    "path" : {
      "data" : [
        "/var/lib/elasticsearch"
      ],
      "logs" : "/var/log/elasticsearch",
      "shared_data" : "",
      "home" : "/usr/share/elasticsearch",
      "repo" : [ ]
    },
    "search" : {
      "default_search_timeout" : "-1",
      "highlight" : {
        "term_vector_multi_value" : "true"
      },
      "default_allow_partial_results" : "true",
      "max_open_scroll_context" : "500",
      "max_buckets" : "10000",
      "low_level_cancellation" : "true",
      "keep_alive_interval" : "1m",
      "remote" : {
        "node" : {
          "attr" : ""
        },
        "initial_connect_timeout" : "30s",
        "connect" : "true",
        "connections_per_cluster" : "3"
      },
      "default_keep_alive" : "5m",
      "max_keep_alive" : "24h"
    },
    "security" : {
      "manager" : {
        "filter_bad_defaults" : "true"
      }
    },
    "repositories" : {
      "fs" : {
        "compress" : "false",
        "chunk_size" : "9223372036854775807b",
        "location" : ""
      },
      "url" : {
        "supported_protocols" : [
          "http",
          "https",
          "ftp",
          "file",
          "jar"
        ],
        "allowed_urls" : [ ],
        "url" : "http:"
      }
    },
    "action" : {
      "auto_create_index" : "true",
      "search" : {
        "shard_count" : {
          "limit" : "9223372036854775807"
        }
      },
      "destructive_requires_name" : "false"
    },
    "client" : {
      "type" : "node",
      "transport" : {
        "ignore_cluster_name" : "false",
        "nodes_sampler_interval" : "5s",
        "sniff" : "false",
        "ping_timeout" : "5s"
      }
    },
    "rest" : {
      "action" : {
        "multi" : {
          "allow_explicit_index" : "true"
        }
      }
    },
    "cache" : {
      "recycler" : {
        "page" : {
          "limit" : {
            "heap" : "10%"
          },
          "type" : "CONCURRENT",
          "weight" : {
            "longs" : "1.0",
            "ints" : "1.0",
            "bytes" : "1.0",
            "objects" : "0.1"
          }
        }
      }
    },
    "reindex" : {
      "remote" : {
        "whitelist" : [ ]
      }
    },
    "resource" : {
      "reload" : {
        "enabled" : "true",
        "interval" : {
          "low" : "60s",
          "high" : "5s",
          "medium" : "30s"
        }
      }
    },
    "thread_pool" : {
      "force_merge" : {
        "queue_size" : "-1",
        "size" : "1"
      },
      "fetch_shard_started" : {
        "core" : "1",
        "max" : "4",
        "keep_alive" : "5m"
      },
      "listener" : {
        "queue_size" : "-1",
        "size" : "1"
      },
      "refresh" : {
        "core" : "1",
        "max" : "1",
        "keep_alive" : "5m"
      },
      "generic" : {
        "core" : "4",
        "max" : "128",
        "keep_alive" : "30s"
      },
      "warmer" : {
        "core" : "1",
        "max" : "1",
        "keep_alive" : "5m"
      },
      "search" : {
        "max_queue_size" : "1000",
        "queue_size" : "1000",
        "size" : "4",
        "auto_queue_frame_size" : "2000",
        "target_response_time" : "1s",
        "min_queue_size" : "1000"
      },
      "fetch_shard_store" : {
        "core" : "1",
        "max" : "4",
        "keep_alive" : "5m"
      },
      "flush" : {
        "core" : "1",
        "max" : "1",
        "keep_alive" : "5m"
      },
      "management" : {
        "core" : "1",
        "max" : "5",
        "keep_alive" : "5m"
      },
      "analyze" : {
        "queue_size" : "16",
        "size" : "1"
      },
      "get" : {
        "queue_size" : "1000",
        "size" : "2"
      },
      "estimated_time_interval" : "200ms",
      "write" : {
        "queue_size" : "200",
        "size" : "2"
      },
      "snapshot" : {
        "core" : "1",
        "max" : "1",
        "keep_alive" : "5m"
      },
      "search_throttled" : {
        "max_queue_size" : "100",
        "queue_size" : "100",
        "size" : "1",
        "auto_queue_frame_size" : "200",
        "target_response_time" : "1s",
        "min_queue_size" : "100"
      }
    },
    "index" : {
      "codec" : "default",
      "store" : {
        "type" : "",
        "fs" : {
          "fs_lock" : "native"
        },
        "preload" : [ ]
      }
    },
    "monitor" : {
      "jvm" : {
        "gc" : {
          "enabled" : "true",
          "overhead" : {
            "warn" : "50",
            "debug" : "10",
            "info" : "25"
          },
          "refresh_interval" : "1s"
        },
        "refresh_interval" : "1s"
      },
      "process" : {
        "refresh_interval" : "1s"
      },
      "os" : {
        "refresh_interval" : "1s"
      },
      "fs" : {
        "refresh_interval" : "1s"
      }
    },
    "transport" : {
      "tcp" : {
        "reuse_address" : "true",
        "keep_count" : "-1",
        "connect_timeout" : "30s",
        "keep_interval" : "-1",
        "compress" : "false",
        "port" : "9300-9400",
        "no_delay" : "true",
        "keep_alive" : "true",
        "receive_buffer_size" : "-1b",
        "keep_idle" : "-1",
        "send_buffer_size" : "-1b"
      },
      "bind_host" : [ ],
      "connect_timeout" : "30s",
      "compress" : "false",
      "ping_schedule" : "-1",
      "connections_per_node" : {
        "recovery" : "2",
        "state" : "1",
        "bulk" : "3",
        "reg" : "6",
        "ping" : "1"
      },
      "tracer" : {
        "include" : [ ],
        "exclude" : [
          "internal:discovery/zen/fd*",
          "internal:coordination/fault_detection/*",
          "cluster:monitor/nodes/liveness"
        ]
      },
      "type" : "",
      "type.default" : "netty4",
      "port" : "9300-9400",
      "host" : [ ],
      "publish_port" : "-1",
      "tcp_no_delay" : "true",
      "publish_host" : [ ],
      "netty" : {
        "receive_predictor_size" : "64kb",
        "receive_predictor_max" : "64kb",
        "worker_count" : "4",
        "receive_predictor_min" : "64kb",
        "boss_count" : "1"
      }
    },
    "script" : {
      "allowed_contexts" : [ ],
      "max_compilations_rate" : "75/5m",
      "cache" : {
        "max_size" : "100",
        "expire" : "0ms"
      },
      "painless" : {
        "regex" : {
          "enabled" : "false"
        }
      },
      "max_size_in_bytes" : "65535",
      "allowed_types" : [ ]
    },
    "node" : {
      "pidfile" : "/var/run/elasticsearch/elasticsearch.pid",
      "data" : "true",
      "enable_lucene_segment_infos_trace" : "false",
      "local_storage" : "true",
      "max_local_storage_nodes" : "1",
      "name" : "single-node",
      "id" : {
        "seed" : "0"
      },
      "processors" : "2",
      "store" : {
        "allow_mmap" : "true"
      },
      "portsfile" : "false",
      "ingest" : "true",
      "master" : "true"
    },
    "indices" : {
      "cache" : {
        "cleanup_interval" : "1m"
      },
      "mapping" : {
        "dynamic_timeout" : "30s"
      },
      "memory" : {
        "interval" : "5s",
        "max_index_buffer_size" : "-1",
        "shard_inactive_time" : "5m",
        "index_buffer_size" : "10%",
        "min_index_buffer_size" : "48mb"
      },
      "breaker" : {
        "request" : {
          "limit" : "60%",
          "type" : "memory",
          "overhead" : "1.0"
        },
        "total" : {
          "limit" : "95%",
          "use_real_memory" : "true"
        },
        "accounting" : {
          "limit" : "100%",
          "overhead" : "1.0"
        },
        "fielddata" : {
          "limit" : "40%",
          "type" : "memory",
          "overhead" : "1.03"
        },
        "type" : "hierarchy"
      },
      "fielddata" : {
        "cache" : {
          "size" : "-1b"
        }
      },
      "query" : {
        "bool" : {
          "max_clause_count" : "1024"
        },
        "query_string" : {
          "analyze_wildcard" : "false",
          "allowLeadingWildcard" : "true"
        }
      },
      "recovery" : {
        "recovery_activity_timeout" : "1800000ms",
        "retry_delay_network" : "5s",
        "internal_action_timeout" : "15m",
        "retry_delay_state_sync" : "500ms",
        "internal_action_long_timeout" : "1800000ms",
        "max_bytes_per_sec" : "40mb",
        "max_concurrent_file_chunks" : "2"
      },
      "requests" : {
        "cache" : {
          "size" : "1%",
          "expire" : "0ms"
        }
      },
      "store" : {
        "delete" : {
          "shard" : {
            "timeout" : "30s"
          }
        }
      },
      "analysis" : {
        "hunspell" : {
          "dictionary" : {
            "ignore_case" : "false",
            "lazy" : "false"
          }
        }
      },
      "queries" : {
        "cache" : {
          "count" : "10000",
          "size" : "10%",
          "all_segments" : "false"
        }
      }
    },
    "plugin" : {
      "mandatory" : [ ]
    },
    "discovery" : {
      "seed_hosts" : [ ],
      "unconfigured_bootstrap_timeout" : "3s",
      "request_peers_timeout" : "3000ms",
      "zen" : {
        "commit_timeout" : "30s",
        "no_master_block" : "write",
        "join_retry_delay" : "100ms",
        "join_retry_attempts" : "3",
        "ping" : {
          "unicast" : {
            "concurrent_connects" : "10",
            "hosts" : [ ],
            "hosts.resolve_timeout" : "5s"
          }
        },
        "master_election" : {
          "ignore_non_master_pings" : "false",
          "wait_for_joins_timeout" : "30000ms"
        },
        "send_leave_request" : "true",
        "ping_timeout" : "3s",
        "bwc_ping_timeout" : "3s",
        "join_timeout" : "60000ms",
        "publish_diff" : {
          "enable" : "true"
        },
        "publish" : {
          "max_pending_cluster_states" : "25"
        },
        "minimum_master_nodes" : "-1",
        "unsafe_rolling_upgrades_enabled" : "true",
        "hosts_provider" : [ ],
        "publish_timeout" : "30s",
        "fd" : {
          "connect_on_network_disconnect" : "false",
          "ping_interval" : "1s",
          "ping_retries" : "3",
          "register_connection_listener" : "true",
          "ping_timeout" : "30s"
        },
        "max_pings_from_another_master" : "3"
      },
      "initial_state_timeout" : "30s",
      "cluster_formation_warning_timeout" : "10000ms",
      "seed_providers" : [ ],
      "type" : "single-node",
      "seed_resolver" : {
        "max_concurrent_resolvers" : "10",
        "timeout" : "5s"
      },
      "find_peers_interval" : "1000ms"
    },
    "http" : {
      "tcp" : {
        "reuse_address" : "true",
        "keep_count" : "-1",
        "keep_interval" : "-1",
        "no_delay" : "true",
        "keep_alive" : "true",
        "receive_buffer_size" : "-1b",
        "keep_idle" : "-1",
        "send_buffer_size" : "-1b"
      },
      "bind_host" : [ ],
      "cors" : {
        "max-age" : "1728000",
        "allow-origin" : "",
        "allow-headers" : "X-Requested-With,Content-Type,Content-Length",
        "allow-credentials" : "false",
        "allow-methods" : "OPTIONS,HEAD,GET,POST,PUT,DELETE",
        "enabled" : "false"
      },
      "max_chunk_size" : "8kb",
      "compression_level" : "3",
      "reset_cookies" : "false",
      "max_initial_line_length" : "4kb",
      "max_warning_header_count" : "-1",
      "type" : "",
      "pipelining" : {
        "max_events" : "10000"
      },
      "max_warning_header_size" : "-1b",
      "type.default" : "netty4",
      "detailed_errors" : {
        "enabled" : "true"
      },
      "content_type" : {
        "required" : "true"
      },
      "port" : "9200-9300",
      "host" : [ ],
      "publish_port" : "-1",
      "max_header_size" : "8kb",
      "tcp_no_delay" : "true",
      "compression" : "true",
      "read_timeout" : "0ms",
      "publish_host" : [ ],
      "max_content_length" : "100mb",
      "netty" : {
        "receive_predictor_size" : "64kb",
        "max_composite_buffer_components" : "69905",
        "worker_count" : "4"
      }
    },
    "gateway" : {
      "recover_after_master_nodes" : "0",
      "expected_nodes" : "-1",
      "recover_after_data_nodes" : "-1",
      "expected_data_nodes" : "-1",
      "slow_write_logging_threshold" : "10s",
      "recover_after_time" : "0ms",
      "expected_master_nodes" : "-1",
      "recover_after_nodes" : "-1"
    }
  }
}

Index level

Display index settings.

$ curl --silent "http://127.0.0.1:9200/bookmarks/_settings?pretty=true"
{
  "bookmarks" : {
    "settings" : {
      "index" : {
        "allocation" : {
          "max_retries" : "19"
        },
        "number_of_shards" : "1",
        "provided_name" : "bookmarks",
        "creation_date" : "1578247339227",
        "number_of_replicas" : "1",
        "uuid" : "6m-hsRjPQC2VsW6iDAtqNA",
        "version" : {
          "created" : "7050199"
        }
      }
    }
  }
}

Display index settings including default values.

$ curl --silent "http://.2.15:9200/bookmarks/_settings?include_defaults=true&pretty=true"
{
  "bookmarks" : {
    "settings" : {
      "index" : {
        "allocation" : {
          "max_retries" : "19"
        },
        "number_of_shards" : "1",
        "provided_name" : "bookmarks",
        "creation_date" : "1578247339227",
        "number_of_replicas" : "1",
        "uuid" : "6m-hsRjPQC2VsW6iDAtqNA",
        "version" : {
          "created" : "7050199"
        }
      }
    },
    "defaults" : {
      "index" : {
        "flush_after_merge" : "512mb",
        "final_pipeline" : "_none",
        "max_inner_result_window" : "100",
        "unassigned" : {
          "node_left" : {
            "delayed_timeout" : "1m"
          }
        },
        "max_terms_count" : "65536",
        "routing_partition_size" : "1",
        "force_memory_term_dictionary" : "false",
        "max_docvalue_fields_search" : "100",
        "merge" : {
          "scheduler" : {
            "max_thread_count" : "1",
            "auto_throttle" : "true",
            "max_merge_count" : "6"
          },
          "policy" : {
            "reclaim_deletes_weight" : "2.0",
            "floor_segment" : "2mb",
            "max_merge_at_once_explicit" : "30",
            "max_merge_at_once" : "10",
            "max_merged_segment" : "5gb",
            "expunge_deletes_allowed" : "10.0",
            "segments_per_tier" : "10.0",
            "deletes_pct_allowed" : "33.0"
          }
        },
        "max_refresh_listeners" : "1000",
        "max_regex_length" : "1000",
        "load_fixed_bitset_filters_eagerly" : "true",
        "number_of_routing_shards" : "1",
        "write" : {
          "wait_for_active_shards" : "1"
        },
        "verified_before_close" : "false",
        "mapping" : {
          "coerce" : "false",
          "nested_fields" : {
            "limit" : "50"
          },
          "depth" : {
            "limit" : "20"
          },
          "field_name_length" : {
            "limit" : "9223372036854775807"
          },
          "total_fields" : {
            "limit" : "1000"
          },
          "nested_objects" : {
            "limit" : "10000"
          },
          "ignore_malformed" : "false"
        },
        "soft_deletes" : {
          "enabled" : "false",
          "retention" : {
            "operations" : "0"
          },
          "retention_lease" : {
            "period" : "12h"
          }
        },
        "max_script_fields" : "32",
        "query" : {
          "default_field" : [
            "*"
          ],
          "parse" : {
            "allow_unmapped_fields" : "true"
          }
        },
        "format" : "0",
        "sort" : {
          "missing" : [ ],
          "mode" : [ ],
          "field" : [ ],
          "order" : [ ]
        },
        "priority" : "1",
        "codec" : "default",
        "max_rescore_window" : "10000",
        "max_adjacency_matrix_filters" : "100",
        "analyze" : {
          "max_token_count" : "10000"
        },
        "gc_deletes" : "60s",
        "optimize_auto_generated_id" : "true",
        "max_ngram_diff" : "1",
        "translog" : {
          "generation_threshold_size" : "64mb",
          "flush_threshold_size" : "512mb",
          "sync_interval" : "5s",
          "retention" : {
            "size" : "512MB",
            "age" : "12h"
          },
          "durability" : "REQUEST"
        },
        "auto_expand_replicas" : "false",
        "mapper" : {
          "dynamic" : "true"
        },
        "requests" : {
          "cache" : {
            "enable" : "true"
          }
        },
        "data_path" : "",
        "highlight" : {
          "max_analyzed_offset" : "1000000"
        },
        "routing" : {
          "rebalance" : {
            "enable" : "all"
          },
          "allocation" : {
            "enable" : "all",
            "total_shards_per_node" : "-1"
          }
        },
        "search" : {
          "slowlog" : {
            "level" : "TRACE",
            "threshold" : {
              "fetch" : {
                "warn" : "-1",
                "trace" : "-1",
                "debug" : "-1",
                "info" : "-1"
              },
              "query" : {
                "warn" : "-1",
                "trace" : "-1",
                "debug" : "-1",
                "info" : "-1"
              }
            }
          },
          "idle" : {
            "after" : "30s"
          },
          "throttled" : "false"
        },
        "fielddata" : {
          "cache" : "node"
        },
        "default_pipeline" : "_none",
        "max_slices_per_scroll" : "1024",
        "shard" : {
          "check_on_startup" : "false"
        },
        "percolator" : {
          "map_unmapped_fields_as_text" : "false"
        },
        "refresh_interval" : "1s",
        "indexing" : {
          "slowlog" : {
            "reformat" : "true",
            "threshold" : {
              "index" : {
                "warn" : "-1",
                "trace" : "-1",
                "debug" : "-1",
                "info" : "-1"
              }
            },
            "source" : "1000",
            "level" : "TRACE"
          }
        },
        "compound_format" : "0.1",
        "blocks" : {
          "metadata" : "false",
          "read" : "false",
          "read_only_allow_delete" : "false",
          "read_only" : "false",
          "write" : "false"
        },
        "max_result_window" : "10000",
        "store" : {
          "stats_refresh_interval" : "10s",
          "type" : "",
          "fs" : {
            "fs_lock" : "native"
          },
          "preload" : [ ]
        },
        "queries" : {
          "cache" : {
            "enabled" : "true"
          }
        },
        "warmer" : {
          "enabled" : "true"
        },
        "max_shingle_diff" : "3",
        "query_string" : {
          "lenient" : "false"
        }
      }
    }
  }
}
ko-fi