elasticsearch 查看所有集群设置_cluster/settings

这篇具有很好参考价值的文章主要介绍了elasticsearch 查看所有集群设置_cluster/settings。希望对大家有所帮助。如果存在错误或未考虑完全的地方,请大家不吝赐教,您也可以点击"举报违法"按钮提交疑问。

curl --location 'http://127.0.0.1:9200/_cluster/settings?include_defaults=true' \
--header 'Authorization: Basic ssss'

样例数据文章来源地址https://www.toymoban.com/news/detail-632201.html

{
	"persistent": {
		"cluster": {
			"routing": {
				"allocation": {
					"node_concurrent_recoveries": "10"
				}
			},
			"max_shards_per_node": "30000"
		},
		"indices": {
			"recovery": {
				"max_bytes_per_sec": "100mb"
			}
		},
		"xpack": {
			"monitoring": {
				"collection": {
					"enabled": "true"
				}
			}
		}
	},
	"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": "supports_voting_only"
			},
			"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": "10",
					"include": {
						"_tier": ""
					},
					"node_initial_primaries_recoveries": "4",
					"same_shard": {
						"host": "false"
					},
					"total_shards_per_node": "-1",
					"require": {
						"_tier": ""
					},
					"shard_state": {
						"reroute": {
							"priority": "NORMAL"
						}
					},
					"type": "balanced",
					"disk": {
						"threshold_enabled": "true",
						"watermark": {
							"flood_stage.frozen.max_headroom": "20GB",
							"flood_stage": "95%",
							"high": "90%",
							"low": "85%",
							"enable_for_single_data_node": "false",
							"flood_stage.frozen": "95%"
						},
						"include_relocations": "true",
						"reroute_interval": "60s"
					},
					"awareness": {
						"attributes": []
					},
					"balance": {
						"index": "0.55",
						"threshold": "1.0",
						"shard": "0.45"
					},
					"enable": "all",
					"node_concurrent_outgoing_recoveries": "10",
					"allow_rebalance": "indices_all_active",
					"cluster_concurrent_rebalance": "2",
					"exclude": {
						"_tier": ""
					}
				}
			},
			"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": "jiankunking-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": {
				"frozen": "3000"
			},
			"initial_master_nodes": [
				"10.11.12.193",
				"10.11.12.194",
				"10.11.12.195"
			],
			"snapshot": {
				"info": {
					"max_concurrent_fetches": "5"
				}
			},
			"info": {
				"update": {
					"interval": "30s",
					"timeout": "15s"
				}
			}
		},
		"stack": {
			"templates": {
				"enabled": "true"
			}
		},
		"logger": {
			"level": "INFO"
		},
		"bootstrap": {
			"memory_lock": "true",
			"system_call_filter": "true",
			"ctrlhandler": "true"
		},
		"processors": "32",
		"ingest": {
			"user_agent": {
				"cache_size": "1000"
			},
			"geoip": {
				"cache_size": "1000",
				"downloader": {
					"enabled": "false",
					"endpoint": "https://geoip.elastic.co/v1/database",
					"poll": {
						"interval": "3d"
					}
				}
			},
			"grok": {
				"watchdog": {
					"max_execution_time": "1s",
					"interval": "1s"
				}
			}
		},
		"network": {
			"host": [],
			"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.11.12.193"
			],
			"server": "true",
			"breaker": {
				"inflight_requests": {
					"limit": "100%",
					"overhead": "2.0"
				}
			},
			"publish_host": [
				"10.11.12.193"
			]
		},
		"pidfile": "",
		"path": {
			"data": [
				"/usr/share/elasticsearch/data3",
				"/usr/share/elasticsearch/data4"
			],
			"logs": "/usr/share/elasticsearch/logs",
			"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": "65536",
			"low_level_cancellation": "true",
			"allow_expensive_queries": "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",
			"aggs": {
				"rewrite_to_filter_by_filter": "true"
			}
		},
		"security": {
			"manager": {
				"filter_bad_defaults": "true"
			}
		},
		"transform": {
			"task_thread_pool": {
				"queue_size": "4",
				"size": "4"
			}
		},
		"ccr": {
			"wait_for_metadata_timeout": "60s",
			"indices": {
				"recovery": {
					"recovery_activity_timeout": "60s",
					"chunk_size": "1mb",
					"internal_action_timeout": "60s",
					"max_bytes_per_sec": "40mb",
					"max_concurrent_file_chunks": "5"
				}
			},
			"auto_follow": {
				"wait_for_metadata_timeout": "60s"
			}
		},
		"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"
			}
		},
		"enrich": {
			"max_force_merge_attempts": "3",
			"cleanup_period": "15m",
			"fetch_size": "10000",
			"coordinator_proxy": {
				"max_concurrent_requests": "8",
				"max_lookups_per_request": "128",
				"queue_capacity": "1024"
			},
			"max_concurrent_policy_executions": "50"
		},
		"xpack": {
			"flattened": {
				"enabled": "true"
			},
			"watcher": {
				"execution": {
					"scroll": {
						"size": "0",
						"timeout": ""
					},
					"default_throttle_period": "5s"
				},
				"internal": {
					"ops": {
						"bulk": {
							"default_timeout": ""
						},
						"index": {
							"default_timeout": ""
						},
						"search": {
							"default_timeout": ""
						}
					}
				},
				"thread_pool": {
					"queue_size": "1000",
					"size": "50"
				},
				"index": {
					"rest": {
						"direct_access": ""
					}
				},
				"use_ilm_index_management": "true",
				"history": {
					"cleaner_service": {
						"enabled": "true"
					}
				},
				"trigger": {
					"schedule": {
						"ticker": {
							"tick_interval": "500ms"
						}
					}
				},
				"enabled": "true",
				"input": {
					"search": {
						"default_timeout": ""
					}
				},
				"encrypt_sensitive_data": "false",
				"transform": {
					"search": {
						"default_timeout": ""
					}
				},
				"stop": {
					"timeout": "30s"
				},
				"watch": {
					"scroll": {
						"size": "0"
					}
				},
				"bulk": {
					"concurrent_requests": "0",
					"flush_interval": "1s",
					"size": "1mb",
					"actions": "1"
				},
				"actions": {
					"bulk": {
						"default_timeout": ""
					},
					"index": {
						"default_timeout": ""
					}
				}
			},
			"eql": {
				"enabled": "true"
			},
			"data_frame": {
				"enabled": "true"
			},
			"ilm": {
				"enabled": "true"
			},
			"monitoring": {
				"migration": {
					"decommission_alerts": "false"
				},
				"collection": {
					"cluster": {
						"stats": {
							"timeout": "10s"
						}
					},
					"node": {
						"stats": {
							"timeout": "10s"
						}
					},
					"indices": [],
					"ccr": {
						"stats": {
							"timeout": "10s"
						}
					},
					"enrich": {
						"stats": {
							"timeout": "10s"
						}
					},
					"index": {
						"stats": {
							"timeout": "10s"
						},
						"recovery": {
							"active_only": "false",
							"timeout": "10s"
						}
					},
					"interval": "10s",
					"ml": {
						"job": {
							"stats": {
								"timeout": "10s"
							}
						}
					}
				},
				"history": {
					"duration": "168h"
				},
				"elasticsearch": {
					"collection": {
						"enabled": "true"
					}
				},
				"enabled": "true"
			},
			"graph": {
				"enabled": "true"
			},
			"searchable": {
				"snapshot": {
					"allocate_on_rolling_restart": "false",
					"cache": {
						"range_size": "32mb",
						"sync": {
							"max_files": "10000",
							"interval": "60s",
							"shutdown_timeout": "10s"
						},
						"recovery_range_size": "128kb"
					},
					"shared_cache": {
						"recovery_range_size": "128kb",
						"region_size": "16mb",
						"size": "0",
						"min_time_delta": "60s",
						"decay": {
							"interval": "60s"
						},
						"size.max_headroom": "-1",
						"range_size": "16mb",
						"max_freq": "100"
					}
				}
			},
			"rollup": {
				"enabled": "true",
				"task_thread_pool": {
					"queue_size": "-1",
					"size": "1"
				}
			},
			"sql": {
				"enabled": "true"
			},
			"searchable_snapshots": {
				"cache_fetch_async_thread_pool": {
					"core": "0",
					"max": "50",
					"keep_alive": "30s"
				},
				"cache_prewarming_thread_pool": {
					"core": "0",
					"max": "16",
					"keep_alive": "30s"
				}
			},
			"license": {
				"upload": {
					"types": [
						"standard",
						"gold",
						"platinum",
						"enterprise",
						"trial"
					]
				},
				"self_generated": {
					"type": "basic"
				}
			},
			"logstash": {
				"enabled": "true"
			},
			"notification": {
				"pagerduty": {
					"default_account": ""
				},
				"email": {
					"default_account": "",
					"html": {
						"sanitization": {
							"allow": [
								"body",
								"head",
								"_tables",
								"_links",
								"_blocks",
								"_formatting",
								"img:embedded"
							],
							"disallow": [],
							"enabled": "true"
						}
					}
				},
				"reporting": {
					"retries": "40",
					"warning": {
						"enabled": "true"
					},
					"interval": "15s"
				},
				"jira": {
					"default_account": ""
				},
				"slack": {
					"default_account": ""
				}
			},
			"security": {
				"operator_privileges": {
					"enabled": "false"
				},
				"dls_fls": {
					"enabled": "true"
				},
				"dls": {
					"bitset": {
						"cache": {
							"size": "10%",
							"ttl": "2h"
						}
					}
				},
				"transport": {
					"filter": {
						"allow": [],
						"deny": [],
						"enabled": "true"
					},
					"ssl": {
						"enabled": "true"
					}
				},
				"ssl": {
					"diagnose": {
						"trust": "true"
					}
				},
				"enabled": "true",
				"crypto": {
					"thread_pool": {
						"queue_size": "1000",
						"size": "16"
					}
				},
				"filter": {
					"always_allow_bound_address": "true"
				},
				"encryption": {
					"algorithm": "AES/CTR/NoPadding"
				},
				"audit": {
					"enabled": "false",
					"logfile": {
						"emit_node_id": "true",
						"emit_node_host_name": "false",
						"emit_node_name": "false",
						"events": {
							"emit_request_body": "false",
							"include": [
								"ACCESS_DENIED",
								"ACCESS_GRANTED",
								"ANONYMOUS_ACCESS_DENIED",
								"AUTHENTICATION_FAILED",
								"CONNECTION_DENIED",
								"TAMPERED_REQUEST",
								"RUN_AS_DENIED",
								"RUN_AS_GRANTED",
								"SECURITY_CONFIG_CHANGE"
							],
							"exclude": []
						},
						"emit_node_host_address": "false"
					}
				},
				"authc": {
					"password_hashing": {
						"algorithm": "bcrypt"
					},
					"success_cache": {
						"size": "10000",
						"enabled": "true",
						"expire_after_access": "1h"
					},
					"api_key": {
						"doc_cache": {
							"ttl": "5m"
						},
						"cache": {
							"hash_algo": "ssha256",
							"max_keys": "10000",
							"ttl": "24h"
						},
						"delete": {
							"interval": "24h",
							"timeout": "-1"
						},
						"enabled": "false",
						"hashing": {
							"algorithm": "pbkdf2"
						}
					},
					"anonymous": {
						"authz_exception": "true",
						"roles": [],
						"username": "_anonymous"
					},
					"run_as": {
						"enabled": "true"
					},
					"reserved_realm": {
						"enabled": "true"
					},
					"service_token": {
						"cache": {
							"hash_algo": "ssha256",
							"max_tokens": "100000",
							"ttl": "20m"
						}
					},
					"token": {
						"delete": {
							"interval": "30m",
							"timeout": "-1"
						},
						"enabled": "false",
						"thread_pool": {
							"queue_size": "1000",
							"size": "1"
						},
						"timeout": "20m"
					}
				},
				"fips_mode": {
					"enabled": "false"
				},
				"encryption_key": {
					"length": "128",
					"algorithm": "AES"
				},
				"http": {
					"filter": {
						"allow": [],
						"deny": [],
						"enabled": "true"
					},
					"ssl": {
						"enabled": "false"
					}
				},
				"automata": {
					"max_determinized_states": "100000",
					"cache": {
						"size": "10000",
						"ttl": "48h",
						"enabled": "true"
					}
				},
				"user": null,
				"authz": {
					"store": {
						"privileges": {
							"cache": {
								"ttl": "24h",
								"max_size": "10000"
							}
						},
						"roles": {
							"index": {
								"cache": {
									"ttl": "20m",
									"max_size": "10000"
								}
							},
							"cache": {
								"max_size": "10000"
							},
							"negative_lookup_cache": {
								"max_size": "10000"
							},
							"field_permissions": {
								"cache": {
									"max_size_in_bytes": "104857600"
								}
							}
						}
					}
				}
			},
			"transform": {
				"num_transform_failure_retries": "10",
				"enabled": "true"
			},
			"vectors": {
				"enabled": "true"
			},
			"ccr": {
				"enabled": "true",
				"ccr_thread_pool": {
					"queue_size": "100",
					"size": "32"
				}
			},
			"idp": {
				"privileges": {
					"application": "",
					"cache": {
						"size": "100",
						"ttl": "90m"
					}
				},
				"metadata": {
					"signing": {
						"keystore": {
							"alias": ""
						}
					}
				},
				"slo_endpoint": {
					"post": "https:",
					"redirect": "https:"
				},
				"defaults": {
					"nameid_format": "urn:oasis:names:tc:SAML:2.0:nameid-format:transient",
					"authn_expiry": "5m"
				},
				"allowed_nameid_formats": [
					"urn:oasis:names:tc:SAML:2.0:nameid-format:transient"
				],
				"contact": {
					"given_name": "",
					"email": "",
					"surname": ""
				},
				"organization": {
					"display_name": "",
					"name": "",
					"url": "http:"
				},
				"sso_endpoint": {
					"post": "https:",
					"redirect": "https:"
				},
				"entity_id": "",
				"signing": {
					"keystore": {
						"alias": ""
					}
				},
				"sp": {
					"cache": {
						"size": "1000",
						"ttl": "60m"
					},
					"wildcard": {
						"path": "wildcard_services.json"
					}
				},
				"enabled": "false"
			},
			"slm": {
				"enabled": "true"
			},
			"enrich": {
				"enabled": "true"
			},
			"http": {
				"default_connection_timeout": "10s",
				"proxy": {
					"host": "",
					"scheme": "",
					"port": "0"
				},
				"whitelist": [
					"*"
				],
				"default_read_timeout": "10s",
				"max_response_size": "10mb"
			},
			"autoscaling": {
				"memory": {
					"monitor": {
						"timeout": "15s"
					}
				}
			},
			"ml": {
				"utility_thread_pool": {
					"core": "1",
					"max": "2048",
					"keep_alive": "10m"
				},
				"max_anomaly_records": "500",
				"enable_config_migration": "true",
				"max_open_jobs": "512",
				"min_disk_space_off_heap": "5gb",
				"use_auto_machine_memory_percent": "false",
				"inference_model": {
					"cache_size": "40%",
					"time_to_live": "5m"
				},
				"nightly_maintenance_requests_per_second": "-1.0",
				"node_concurrent_job_allocations": "2",
				"max_model_memory_limit": "0b",
				"enabled": "true",
				"max_lazy_ml_nodes": "0",
				"max_ml_node_size": "0b",
				"max_machine_memory_percent": "30",
				"persist_results_max_retries": "20",
				"autodetect_process": "true",
				"datafeed_thread_pool": {
					"core": "1",
					"max": "512",
					"keep_alive": "1m"
				},
				"max_inference_processors": "50",
				"process_connect_timeout": "10s",
				"job_comms_thread_pool": {
					"core": "4",
					"max": "2048",
					"keep_alive": "1m"
				}
			}
		},
		"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"
					}
				}
			}
		},
		"async_search": {
			"index_cleanup_interval": "1h"
		},
		"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": "64",
				"keep_alive": "5m"
			},
			"listener": {
				"queue_size": "-1",
				"size": "10"
			},
			"refresh": {
				"core": "1",
				"max": "10",
				"keep_alive": "5m"
			},
			"system_write": {
				"queue_size": "1000",
				"size": "5"
			},
			"generic": {
				"core": "4",
				"max": "128",
				"keep_alive": "30s"
			},
			"warmer": {
				"core": "1",
				"max": "5",
				"keep_alive": "5m"
			},
			"search": {
				"max_queue_size": "1000",
				"queue_size": "1000",
				"size": "49",
				"auto_queue_frame_size": "2000",
				"target_response_time": "1s",
				"min_queue_size": "1000"
			},
			"fetch_shard_store": {
				"core": "1",
				"max": "64",
				"keep_alive": "5m"
			},
			"flush": {
				"core": "1",
				"max": "5",
				"keep_alive": "5m"
			},
			"management": {
				"core": "1",
				"max": "5",
				"keep_alive": "5m"
			},
			"analyze": {
				"queue_size": "16",
				"size": "1"
			},
			"get": {
				"queue_size": "1000",
				"size": "32"
			},
			"system_read": {
				"queue_size": "2000",
				"size": "5"
			},
			"estimated_time_interval": "200ms",
			"write": {
				"queue_size": "10000",
				"size": "32"
			},
			"snapshot": {
				"core": "1",
				"max": "5",
				"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",
			"recovery": {
				"type": ""
			},
			"store": {
				"type": "",
				"fs": {
					"fs_lock": "native"
				},
				"preload": [],
				"snapshot": {
					"uncached_chunk_size": "-1b",
					"cache": {
						"excluded_file_types": []
					}
				}
			}
		},
		"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": {
				"health": {
					"enabled": "true",
					"refresh_interval": "120s",
					"slow_path_logging_threshold": "5s"
				},
				"refresh_interval": "1s"
			}
		},
		"runtime_fields": {
			"grok": {
				"watchdog": {
					"max_execution_time": "1s",
					"interval": "1s"
				}
			}
		},
		"transport": {
			"tcp": {
				"reuse_address": "true",
				"keep_count": "-1",
				"connect_timeout": "30s",
				"keep_interval": "-1",
				"compress": "false",
				"port": "9301",
				"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": "security4",
			"slow_operation_logging_threshold": "5s",
			"type.default": "netty4",
			"features": {
				"x-pack": "true"
			},
			"port": "9300-9400",
			"host": [],
			"publish_port": "-1",
			"tcp_no_delay": "true",
			"publish_host": [],
			"netty": {
				"receive_predictor_size": "64kb",
				"receive_predictor_max": "64kb",
				"worker_count": "32",
				"receive_predictor_min": "64kb",
				"boss_count": "1"
			}
		},
		"script": {
			"allowed_contexts": [],
			"max_compilations_rate": "use-context",
			"cache": {
				"max_size": "100",
				"expire": "0ms"
			},
			"painless": {
				"regex": {
					"enabled": "limited",
					"limit-factor": "6"
				}
			},
			"max_size_in_bytes": "65535",
			"allowed_types": [],
			"disable_max_compilations_rate": "false"
		},
		"indexing_pressure": {
			"memory": {
				"limit": "10%"
			}
		},
		"node": {
			"data": "true",
			"roles": [
				"data_frozen",
				"data_warm",
				"transform",
				"data",
				"remote_cluster_client",
				"data_cold",
				"data_content",
				"data_hot",
				"ingest",
				"master",
				"ml"
			],
			"max_local_storage_nodes": "1",
			"processors": "32",
			"store": {
				"allow_mmap": "true"
			},
			"ingest": "true",
			"master": "true",
			"pidfile": "",
			"transform": "true",
			"remote_cluster_client": "true",
			"enable_lucene_segment_infos_trace": "false",
			"local_storage": "true",
			"name": "es-b-193",
			"id": {
				"seed": "0"
			},
			"voting_only": "false",
			"attr": {
				"transform": {
					"node": "true"
				},
				"xpack": {
					"installed": "true"
				},
				"ml": {
					"max_jvm_size": "33285996544",
					"machine_memory": "135202676736",
					"max_open_jobs": "512"
				}
			},
			"portsfile": "false",
			"ml": "true"
		},
		"indices": {
			"replication": {
				"retry_timeout": "60s",
				"initial_retry_backoff_bound": "50ms"
			},
			"cache": {
				"cleanup_interval": "1m"
			},
			"mapping": {
				"dynamic_timeout": "30s",
				"max_in_flight_updates": "10"
			},
			"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"
			},
			"query": {
				"bool": {
					"max_nested_depth": "20",
					"max_clause_count": "1024"
				},
				"query_string": {
					"analyze_wildcard": "false",
					"allowLeadingWildcard": "true"
				}
			},
			"id_field_data": {
				"enabled": "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_concurrent_operations": "1",
				"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"
				}
			},
			"lifecycle": {
				"history_index_enabled": "true",
				"poll_interval": "10m",
				"step": {
					"master_timeout": "30s"
				}
			},
			"fielddata": {
				"cache": {
					"size": "-1b"
				}
			}
		},
		"plugin": {
			"mandatory": []
		},
		"slm": {
			"minimum_interval": "15m",
			"retention_schedule": "0 30 1 * * ?",
			"retention_duration": "1h",
			"history_index_enabled": "true"
		},
		"discovery": {
			"seed_hosts": [
				"10.11.12.193",
				"10.11.12.194",
				"10.11.12.195"
			],
			"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": "zen",
			"seed_resolver": {
				"max_concurrent_resolvers": "10",
				"timeout": "5s"
			},
			"find_peers_interval": "1000ms",
			"probe": {
				"connect_timeout": "30s",
				"handshake_timeout": "30s"
			}
		},
		"http": {
			"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",
			"max_initial_line_length": "4kb",
			"type": "security4",
			"pipelining": {
				"max_events": "10000"
			},
			"type.default": "netty4",
			"content_type": {
				"required": "true"
			},
			"host": [],
			"publish_port": "-1",
			"read_timeout": "0ms",
			"max_content_length": "100mb",
			"netty": {
				"receive_predictor_size": "64kb",
				"max_composite_buffer_components": "69905",
				"worker_count": "0"
			},
			"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": [],
			"client_stats": {
				"enabled": "true"
			},
			"reset_cookies": "false",
			"max_warning_header_count": "-1",
			"tracer": {
				"include": [],
				"exclude": []
			},
			"max_warning_header_size": "-1b",
			"detailed_errors": {
				"enabled": "true"
			},
			"port": "9201",
			"max_header_size": "8kb",
			"tcp_no_delay": "true",
			"compression": "true",
			"publish_host": []
		},
		"gateway": {
			"recover_after_master_nodes": "0",
			"expected_nodes": "-1",
			"recover_after_data_nodes": "-1",
			"expected_data_nodes": "-1",
			"write_dangling_indices_info": "true",
			"slow_write_logging_threshold": "10s",
			"recover_after_time": "0ms",
			"expected_master_nodes": "-1",
			"recover_after_nodes": "-1",
			"auto_import_dangling_indices": "false"
		},
		"snapshot": {
			"refresh_repo_uuid_on_restore": "true",
			"max_concurrent_operations": "1000"
		}
	}
}

到了这里,关于elasticsearch 查看所有集群设置_cluster/settings的文章就介绍完了。如果您还想了解更多内容,请在右上角搜索TOY模板网以前的文章或继续浏览下面的相关文章,希望大家以后多多支持TOY模板网!

本文来自互联网用户投稿,该文观点仅代表作者本人,不代表本站立场。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如若转载,请注明出处: 如若内容造成侵权/违法违规/事实不符,请点击违法举报进行投诉反馈,一经查实,立即删除!

领支付宝红包 赞助服务器费用

相关文章

  • 查看Kafka集群下所有的topic报错“Timed out waiting for a node assignment. Call: listTopics“

    没有配置主机IP地址。 取消掉 listeners 的注释,然后修改值为 listeners=PLAINTEXT://192.168.88.142:9092 ,其中 192.168.88.142 是当前服务器的IP地址。 注意:Kafka集群中每台服务器上的 server.properties 配置文件都需要修改 listeners 配置项,都修改为自己对应服务器的IP地址。 修改配置后,关

    2024年02月16日
    浏览(47)
  • k8s集群部署elasticsearch集群和elasticsearch集群设置用户密码

    目录 一、背景: 二、部署elasticsearch集群: 1、部署elasticsearch集群: 2、验证elasticsearch集群是否正常:  三、部署elasticsearch集群并设置用户密码 1、生产elastic集群所需的证书: 2、重新建构elasticsearch镜像: 3、部署elasticsearch集群: 4、设置elasticsearch集群的密码: 5、测试验证

    2024年04月13日
    浏览(40)
  • Elasticsearch集群和账号密码设置

    ubuntu 20.04 elasticsearch 8.0 服务器IP:192.168.1.63 目录elastic-master是主节点,目录elastic-node2 是从节点 系统需要新建一个用户来专门启动es,因为es不能使用root用户启动 一台服务器上装多个es来配置集群(多台也是一样的配置) 下载地址 解压刚刚下载的es,解压后我就暂时放在elast

    2024年02月02日
    浏览(52)
  • linux查看es节点使用情况,elasticsearch(es) 如何查看当前集群中哪个节点是主节点(master)

    elasticsearch 查看当前集群中的 master 节点是哪个需要使用 _cat 监控命令,具体如下。 查看方法 es 主节点确定命令,以 kibana 上查看示例如下: GET _cat/nodesv 返回结果示例如下: ip heap.percent ram.percent cpu load_1m load_5m load_15m node.role master name 172.16.16.188 52 99 5 2.59 1.70 1.45 mdi - elastic3

    2023年04月15日
    浏览(47)
  • 关闭 Elasticsearch 集群的安全性设置

    关闭 Elasticsearch 集群的安全性设置,特别是如果您正在使用 X-Pack,涉及到修改 Elasticsearch 的配置。以下是一般步骤,但请注意,这可能会使您的 Elasticsearch 集群面临安全风险,因此建议仅在开发或测试环境中执行此操作。 关闭 X-Pack 安全性 编辑配置文件 : 打开 Elasticsearch 的

    2024年02月02日
    浏览(36)
  • Docker部署Elasticsearch集群并开启安全设置

    部署了docker的centos 两或者三台服务器部署elasticsearch ip1、ip2 安装ik分词器 将配置文件copy出来,放在到挂在路径 elasticsearch.yml 替换好新的配置文件 安全性处理:基于上述已经在运行的容器之上,在主机上执行此运行方式即可 获取p12文件 打开安全设置 elasticsearch.yml 开启安全配

    2024年02月09日
    浏览(48)
  • elasticsearch7.x 集群的搭建和分片设置

    目录   一、es集群的基本核心概念 二、es集群搭建 三、es集群索引分片管理 3.1创建索引,指定分片  3.2索引分片的分配 3.2.1 手动移动分片:  3.2.1 修改副分片数量 Cluster 集群: 一个 Elasticsearch 集群由一个或多个节点(Node)组成,每个集群都有一个共同的集群名称作为 标识。

    2023年04月25日
    浏览(51)
  • elasticsearch6.8.23集群安装和设置密码

    一、下载安装包 下载地址: https://artifacts.elastic.co/downloads/elasticsearch/elasticsearch-6.8.23.tar.gz  二、安装步骤 1、准备三台机器,192.168.1.1、192.168.1.2、192.168.1.3 2、上传elasticsearch-6.8.23.tar.gz到三台机器的 /usr/local,然后都执行下面的命令 3、验证是否安装成功: curl 192.168.1.1:9200 浏

    2024年02月05日
    浏览(38)
  • elasticsearch|大数据|elasticsearch低版本集群的部署安装和安全增强---密码设置问题

    elasticsearch的高低版本划分标准为6.3,该版本之前的为低版本,6.3版本之后的包括6.3为高版本,这么划分主要是在安全性方面也就是x-pack插件的使用部署方面,低版本需要手动安装该安全插件,而高版本无需安装。另一方面,高版本的es漏洞会少一些,而本例中使用的是低版本

    2024年02月03日
    浏览(53)

觉得文章有用就打赏一下文章作者

支付宝扫一扫打赏

博客赞助

微信扫一扫打赏

请作者喝杯咖啡吧~博客赞助

支付宝扫一扫领取红包,优惠每天领

二维码1

领取红包

二维码2

领红包