1 获得完整的配置
集群版本
GET / { "name" : "es-cn-default", "cluster_name" : "es-cn-default", "cluster_uuid" : "MqayQ23q3443y29uUrw9bQ", "version" : { "number" : "7.7.1", "build_flavor" : "default", "build_type" : "tar", "build_hash" : "ad56dce891c901a492bb1ee393f12dfff473a423", "build_date" : "2020-05-28T16:30:01.040088Z", "build_snapshot" : false, "lucene_version" : "8.5.1", "minimum_wire_compatibility_version" : "6.8.0", "minimum_index_compatibility_version" : "6.0.0-beta1" }, "tagline" : "You Know, for Search" }
查看所有配置 # 列出集群范围的设置(明确定义) curl "localhost:9200/_cluster/settings" # 以平面格式列出集群范围的设置(明确定义) curl "localhost:9200/_cluster/settings?flat_settings" # 列出集群范围的设置(包括默认值) curl "localhost:9200/_cluster/settings?include_defaults" # 以平面格式列出集群范围的设置(包括默认值) curl "localhost:9200/_cluster/settings?include_defaults&flat_settings"
2 默认配置查看
Elasticsearch可以动态设置某些属性,并且可以通过API来进行设置,包括transient和persistent两种方式,
transient 临时:这些设置在集群重启之前一直会生效。一旦整个集群重启,这些设置就被清除。
persistent 永久:这些设置永久保存,除非再次被手动修改。是将修改持久化到文件中,重启之后也不影响。
存储位置二进制文件:
/Users/ymz/install/elasticsearch-7.1.0/data/nodes/0/_state hhbdeMacBook-Pro:_state hehaibo$ ll total 72 drwxr-xr-x@ 5 ymz staff 160 3 12 21:12 ./ drwxr-xr-x@ 6 ymz staff 192 3 12 21:12 ../ -rw-r--r--@ 1 ymz staff 24767 1 28 09:10 global-74.st -rw-r--r--@ 1 ymz staff 677 1 30 19:15 manifest-5932.st -rw-r--r--@ 1 ymz staff 71 1 28 09:09 node-23.st
永久和临时配置方式:
PUT /_cluster/settings { "persistent": { "search.max_open_scroll_context": 2000 //这个永久设置会在全集群重启时存活下来。 }, "transient": { "search.max_open_scroll_context": 2000 // 这个临时设置会在第一次全集群重启后被移除。 } }
查看默认配置
curl "localhost:9200/_cluster/settings?include_defaults&flat_settings" { "persistent" : { "cluster.routing.allocation.awareness.attributes" : "zone_id", "cluster.routing.allocation.enable" : "all", "search.max_open_scroll_context" : "2000" }, "transient" : { "cluster.max_shards_per_node" : "10000", "cluster.routing.allocation.cluster_concurrent_rebalance" : "12", "indices.recovery.max_bytes_per_sec" : "200mb", "search.max_open_scroll_context" : "2000" }, "defaults" : { "action.auto_create_index" : "+.*,-*", "action.destructive_requires_name" : "true", "action.search.shard_count.limit" : "9223372036854775807", "aliyun.sql.enabled" : "false", "apack.qos.monitoring.collector.kmonitor.enabled" : "false", "apack.qos.ratelimit.applier.precision" : "0.05", "apack.qos.ratelimit.enabled" : "false", "apack.qos.ratelimit.node.bulk.throughput" : "100gb", "apack.qos.ratelimit.node.downgrade.trigger.ratio" : "1.0", "apack.qos.ratelimit.node.search.qps" : "9223372036854775807", "apack.qos.ratelimit.stats.collector.interval" : "10s", "async_search.index_cleanup_interval" : "1h", "base_path" : "", "bootstrap.ctrlhandler" : "true", "bootstrap.memory_lock" : "true", "bootstrap.system_call_filter" : "true", "bucket" : "", "cache.recycler.page.limit.heap" : "10%", "cache.recycler.page.type" : "CONCURRENT", "cache.recycler.page.weight.bytes" : "1.0", "cache.recycler.page.weight.ints" : "1.0", "cache.recycler.page.weight.longs" : "1.0", "cache.recycler.page.weight.objects" : "0.1", "ccr.auto_follow.wait_for_metadata_timeout" : "60s", "ccr.indices.recovery.chunk_size" : "1mb", "ccr.indices.recovery.internal_action_timeout" : "60s", "ccr.indices.recovery.max_bytes_per_sec" : "40mb", "ccr.indices.recovery.max_concurrent_file_chunks" : "5", "ccr.indices.recovery.recovery_activity_timeout" : "60s", "ccr.wait_for_metadata_timeout" : "60s", "chunk_size" : "1gb", "client.transport.ignore_cluster_name" : "false", "client.transport.nodes_sampler_interval" : "5s", "client.transport.ping_timeout" : "5s", "client.transport.sniff" : "false", "client.type" : "node", "cluster.auto_shrink_voting_configuration" : "true", "cluster.blocks.read_only" : "false", "cluster.blocks.read_only_allow_delete" : "false", "cluster.election.back_off_time" : "100ms", "cluster.election.duration" : "500ms", "cluster.election.initial_timeout" : "100ms", "cluster.election.max_timeout" : "10s", "cluster.election.strategy" : "supports_voting_only", "cluster.fault_detection.follower_check.interval" : "1000ms", "cluster.fault_detection.follower_check.retry_count" : "3", "cluster.fault_detection.follower_check.timeout" : "10000ms", "cluster.fault_detection.leader_check.interval" : "1000ms", "cluster.fault_detection.leader_check.retry_count" : "3", "cluster.fault_detection.leader_check.timeout" : "10000ms", "cluster.follower_lag.timeout" : "90000ms", "cluster.indices.close.enable" : "true", "cluster.indices.tombstones.size" : "500", "cluster.info.update.interval" : "30s", "cluster.info.update.timeout" : "15s", "cluster.initial_master_nodes" : [ ], "cluster.join.timeout" : "60000ms", "cluster.max_voting_config_exclusions" : "10", "cluster.name" : "es-cn-default", "cluster.no_master_block" : "write", "cluster.nodes.reconnect_interval" : "10s", "cluster.persistent_tasks.allocation.enable" : "all", "cluster.persistent_tasks.allocation.recheck_interval" : "30s", "cluster.publish.info_timeout" : "10000ms", "cluster.publish.timeout" : "30000ms", "cluster.remote.connect" : "true", "cluster.remote.connections_per_cluster" : "3", "cluster.remote.initial_connect_timeout" : "30s", "cluster.remote.node.attr" : "", "cluster.routing.allocation.allow_rebalance" : "indices_all_active", "cluster.routing.allocation.balance.index" : "0.55", "cluster.routing.allocation.balance.shard" : "0.45", "cluster.routing.allocation.balance.threshold" : "1.0", "cluster.routing.allocation.disk.include_relocations" : "true", "cluster.routing.allocation.disk.reroute_interval" : "60s", "cluster.routing.allocation.disk.threshold_enabled" : "true", "cluster.routing.allocation.disk.watermark.flood_stage" : "95%", "cluster.routing.allocation.disk.watermark.high" : "90%", "cluster.routing.allocation.disk.watermark.low" : "85%", "cluster.routing.allocation.node_concurrent_incoming_recoveries" : "2", "cluster.routing.allocation.node_concurrent_outgoing_recoveries" : "2", "cluster.routing.allocation.node_concurrent_recoveries" : "2", "cluster.routing.allocation.node_initial_primaries_recoveries" : "4", "cluster.routing.allocation.same_shard.host" : "false", "cluster.routing.allocation.shard_state.reroute.priority" : "NORMAL", "cluster.routing.allocation.total_shards_per_node" : "-1", "cluster.routing.allocation.type" : "balanced", "cluster.routing.rebalance.enable" : "all", "cluster.routing.use_adaptive_replica_selection" : "true", "cluster.service.slow_master_task_logging_threshold" : "10s", "cluster.service.slow_task_logging_threshold" : "30s", "compress" : "false", "discovery.cluster_formation_warning_timeout" : "10000ms", "discovery.find_peers_interval" : "1000ms", "discovery.initial_state_timeout" : "30s", "discovery.probe.connect_timeout" : "3000ms", "discovery.probe.handshake_timeout" : "1000ms", "discovery.request_peers_timeout" : "3000ms", "discovery.seed_hosts" : [ "172.21.199.200", "172.16.119.95", "172.30.133.252" ], "discovery.seed_providers" : [ ], "discovery.seed_resolver.max_concurrent_resolvers" : "10", "discovery.seed_resolver.timeout" : "5s", "discovery.type" : "zen", "discovery.unconfigured_bootstrap_timeout" : "3s", "discovery.zen.bwc_ping_timeout" : "3s", "discovery.zen.commit_timeout" : "30s", "discovery.zen.fd.connect_on_network_disconnect" : "false", "discovery.zen.fd.ping_interval" : "1s", "discovery.zen.fd.ping_retries" : "3", "discovery.zen.fd.ping_timeout" : "30s", "discovery.zen.fd.register_connection_listener" : "true", "discovery.zen.hosts_provider" : [ ], "discovery.zen.join_retry_attempts" : "3", "discovery.zen.join_retry_delay" : "100ms", "discovery.zen.join_timeout" : "60000ms", "discovery.zen.master_election.ignore_non_master_pings" : "false", "discovery.zen.master_election.wait_for_joins_timeout" : "30000ms", "discovery.zen.max_pings_from_another_master" : "3", "discovery.zen.minimum_master_nodes" : "-1", "discovery.zen.no_master_block" : "write", "discovery.zen.ping.unicast.concurrent_connects" : "10", "discovery.zen.ping.unicast.hosts" : [ ], "discovery.zen.ping.unicast.hosts.resolve_timeout" : "5s", "discovery.zen.ping_timeout" : "3s", "discovery.zen.publish.max_pending_cluster_states" : "25", "discovery.zen.publish_diff.enable" : "true", "discovery.zen.publish_timeout" : "30s", "discovery.zen.send_leave_request" : "true", "discovery.zen.unsafe_rolling_upgrades_enabled" : "true", "endpoint" : "", "enrich.cleanup_period" : "15m", "enrich.coordinator_proxy.max_concurrent_requests" : "8", "enrich.coordinator_proxy.max_lookups_per_request" : "128", "enrich.coordinator_proxy.queue_capacity" : "1024", "enrich.fetch_size" : "10000", "enrich.max_concurrent_policy_executions" : "50", "enrich.max_force_merge_attempts" : "3", "gateway.auto_import_dangling_indices" : "true", "gateway.expected_data_nodes" : "-1", "gateway.expected_master_nodes" : "-1", "gateway.expected_nodes" : "-1", "gateway.recover_after_data_nodes" : "-1", "gateway.recover_after_master_nodes" : "0", "gateway.recover_after_nodes" : "-1", "gateway.recover_after_time" : "0ms", "gateway.slow_write_logging_threshold" : "10s", "gateway.write_dangling_indices_info" : "true", "http.bind_host" : [ "_site_" ], "http.compression" : "true", "http.compression_level" : "3", "http.content_type.required" : "true", "http.cors.allow-credentials" : "false", "http.cors.allow-headers" : "X-Requested-With,Content-Type,Content-Length", "http.cors.allow-methods" : "OPTIONS,HEAD,GET,POST,PUT,DELETE", "http.cors.allow-origin" : "", "http.cors.enabled" : "false", "http.cors.max-age" : "1728000", "http.detailed_errors.enabled" : "true", "http.host" : [ "_site_" ], "http.max_chunk_size" : "8kb", "http.max_content_length" : "100mb", "http.max_header_size" : "8kb", "http.max_initial_line_length" : "4kb", "http.max_warning_header_count" : "-1", "http.max_warning_header_size" : "-1b", "http.netty.max_composite_buffer_components" : "69905", "http.netty.receive_predictor_size" : "64kb", "http.netty.worker_count" : "64", "http.pipelining.max_events" : "10000", "http.port" : "9200", "http.publish_host" : [ "_site_" ], "http.publish_port" : "-1", "http.read_timeout" : "0ms", "http.reset_cookies" : "false", "http.tcp.keep_alive" : "true", "http.tcp.keep_count" : "-1", "http.tcp.keep_idle" : "-1", "http.tcp.keep_interval" : "-1", "http.tcp.no_delay" : "true", "http.tcp.receive_buffer_size" : "-1b", "http.tcp.reuse_address" : "true", "http.tcp.send_buffer_size" : "-1b", "http.tcp_no_delay" : "true", "http.tracer.exclude" : [ ], "http.tracer.include" : [ ], "http.type" : "security4", "http.type.default" : "netty4", "index.codec" : "default", "index.store.fs.fs_lock" : "native", "index.store.preload" : [ ], "index.store.type" : "", "indices.analysis.hunspell.dictionary.ignore_case" : "false", "indices.analysis.hunspell.dictionary.lazy" : "false", "indices.breaker.accounting.limit" : "100%", "indices.breaker.accounting.overhead" : "1.0", "indices.breaker.fielddata.limit" : "40%", "indices.breaker.fielddata.overhead" : "1.03", "indices.breaker.fielddata.type" : "memory", "indices.breaker.request.limit" : "60%", "indices.breaker.request.overhead" : "1.0", "indices.breaker.request.type" : "memory", "indices.breaker.total.limit" : "95%", "indices.breaker.total.use_real_memory" : "true", "indices.breaker.type" : "hierarchy", "indices.cache.cleanup_interval" : "1m", "indices.fielddata.cache.size" : "-1b", "indices.id_field_data.enabled" : "true", "indices.lifecycle.history_index_enabled" : "true", "indices.lifecycle.poll_interval" : "10m", "indices.lifecycle.step.master_timeout" : "30s", "indices.mapping.dynamic_timeout" : "30s", "indices.mapping.max_in_flight_updates" : "10", "indices.memory.index_buffer_size" : "10%", "indices.memory.interval" : "5s", "indices.memory.max_index_buffer_size" : "-1", "indices.memory.min_index_buffer_size" : "48mb", "indices.memory.shard_inactive_time" : "5m", "indices.queries.cache.all_segments" : "false", "indices.queries.cache.count" : "10000", "indices.queries.cache.size" : "10%", "indices.query.bool.max_clause_count" : "1024", "indices.query.query_string.allowLeadingWildcard" : "true", "indices.query.query_string.analyze_wildcard" : "false", "indices.recovery.internal_action_long_timeout" : "1800000ms", "indices.recovery.internal_action_timeout" : "15m", "indices.recovery.max_concurrent_file_chunks" : "2", "indices.recovery.recovery_activity_timeout" : "1800000ms", "indices.recovery.retry_delay_network" : "5s", "indices.recovery.retry_delay_state_sync" : "500ms", "indices.requests.cache.expire" : "0ms", "indices.requests.cache.size" : "1%", "indices.store.delete.shard.timeout" : "30s", "ingest.geoip.cache_size" : "1000", "ingest.grok.watchdog.interval" : "1s", "ingest.grok.watchdog.max_execution_time" : "1s", "ingest.user_agent.cache_size" : "1000", "join.limit.enabled" : "true", "logger.level" : "INFO", "max.join.size" : "100000", "monitor.fs.refresh_interval" : "1s", "monitor.jvm.gc.enabled" : "true", "monitor.jvm.gc.overhead.debug" : "10", "monitor.jvm.gc.overhead.info" : "25", "monitor.jvm.gc.overhead.warn" : "50", "monitor.jvm.gc.refresh_interval" : "1s", "monitor.jvm.refresh_interval" : "1s", "monitor.os.refresh_interval" : "1s", "monitor.process.refresh_interval" : "1s", "network.bind_host" : [ "_site_" ], "network.breaker.inflight_requests.limit" : "100%", "network.breaker.inflight_requests.overhead" : "2.0", "network.host" : [ "_site_" ], "network.publish_host" : [ "_site_" ], "network.server" : "true", "network.tcp.connect_timeout" : "30s", "network.tcp.keep_alive" : "true", "network.tcp.keep_count" : "-1", "network.tcp.keep_idle" : "-1", "network.tcp.keep_interval" : "-1", "network.tcp.no_delay" : "true", "network.tcp.receive_buffer_size" : "-1b", "network.tcp.reuse_address" : "true", "network.tcp.send_buffer_size" : "-1b", "no.model.state.persist" : "false", "node.attr.ml.machine_memory" : "64479035392", "node.attr.ml.max_open_jobs" : "20", "node.attr.transform.node" : "true", "node.attr.xpack.installed" : "true", "node.attr.zone_id" : "cn-beijing-h", "node.data" : "true", "node.enable_lucene_segment_infos_trace" : "false", "node.id.seed" : "0", "node.ingest" : "true", "node.local_storage" : "true", "node.master" : "false", "node.max_local_storage_nodes" : "1", "node.ml" : "true", "node.name" : "es-cn-default-941b22aa-0003", "node.pidfile" : "", "node.portsfile" : "false", "node.processors" : "32", "node.remote_cluster_client" : "true", "node.store.allow_mmap" : "true", "node.transform" : "true", "node.voting_only" : "false", "path.data" : [ "/ssd/1/hippo_slave/sys_carbon_2_es-cn-default_es_worker_i.worker_12_63/es_worker_process/data" ], "path.home" : "/home/admin/packages/elasticsearch", "path.logs" : "/ssd/1/hippo_slave/sys_carbon_2_es-cn-default_es_worker_i.worker_12_63/es_worker_process/logs", "path.repo" : [ ], "path.shared_data" : "", "pidfile" : "", "plugin.mandatory" : [ ], "processors" : "32", "reindex.remote.whitelist" : [ ], "repositories.fs.chunk_size" : "9223372036854775807b", "repositories.fs.compress" : "false", "repositories.fs.location" : "", "repositories.url.allowed_urls" : [ ], "repositories.url.supported_protocols" : [ "http", "https", "ftp", "file", "jar" ], "repositories.url.url" : "http:", "resource.reload.enabled" : "true", "resource.reload.interval.high" : "5s", "resource.reload.interval.low" : "60s", "resource.reload.interval.medium" : "30s", "rest.action.multi.allow_explicit_index" : "true", "script.allowed_contexts" : [ ], "script.allowed_types" : [ ], "script.cache.expire" : "0ms", "script.cache.max_size" : "100", "script.max_compilations_rate" : "75/5m", "script.max_size_in_bytes" : "65535", "script.painless.regex.enabled" : "false", "search.allow_expensive_queries" : "true", "search.default_allow_partial_results" : "true", "search.default_keep_alive" : "5m", "search.default_search_timeout" : "-1", "search.highlight.term_vector_multi_value" : "true", "search.keep_alive_interval" : "1m", "search.low_level_cancellation" : "true", "search.max_buckets" : "10000", "search.max_keep_alive" : "24h", "search.remote.connect" : "true", "search.remote.connections_per_cluster" : "3", "search.remote.initial_connect_timeout" : "30s", "search.remote.node.attr" : "", "security.manager.filter_bad_defaults" : "true", "slm.history_index_enabled" : "true", "slm.retention_duration" : "1h", "slm.retention_schedule" : "0 30 1 * * ?", "support_cname" : "false", "thread_pool.analyze.queue_size" : "16", "thread_pool.analyze.size" : "1", "thread_pool.estimated_time_interval" : "200ms", "thread_pool.fetch_shard_started.core" : "1", "thread_pool.fetch_shard_started.keep_alive" : "5m", "thread_pool.fetch_shard_started.max" : "64", "thread_pool.fetch_shard_store.core" : "1", "thread_pool.fetch_shard_store.keep_alive" : "5m", "thread_pool.fetch_shard_store.max" : "64", "thread_pool.flush.core" : "1", "thread_pool.flush.keep_alive" : "5m", "thread_pool.flush.max" : "5", "thread_pool.force_merge.queue_size" : "-1", "thread_pool.force_merge.size" : "1", "thread_pool.generic.core" : "4", "thread_pool.generic.keep_alive" : "30s", "thread_pool.generic.max" : "128", "thread_pool.get.queue_size" : "1000", "thread_pool.get.size" : "32", "thread_pool.listener.queue_size" : "-1", "thread_pool.listener.size" : "10", "thread_pool.management.core" : "1", "thread_pool.management.keep_alive" : "5m", "thread_pool.management.max" : "5", "thread_pool.refresh.core" : "1", "thread_pool.refresh.keep_alive" : "5m", "thread_pool.refresh.max" : "10", "thread_pool.search.auto_queue_frame_size" : "2000", "thread_pool.search.max_queue_size" : "1000", "thread_pool.search.min_queue_size" : "1000", "thread_pool.search.queue_size" : "4000", "thread_pool.search.size" : "49", "thread_pool.search.target_response_time" : "1s", "thread_pool.search_throttled.auto_queue_frame_size" : "200", "thread_pool.search_throttled.max_queue_size" : "100", "thread_pool.search_throttled.min_queue_size" : "100", "thread_pool.search_throttled.queue_size" : "100", "thread_pool.search_throttled.size" : "1", "thread_pool.search_throttled.target_response_time" : "1s", "thread_pool.snapshot.core" : "1", "thread_pool.snapshot.keep_alive" : "5m", "thread_pool.snapshot.max" : "5", "thread_pool.warmer.core" : "1", "thread_pool.warmer.keep_alive" : "5m", "thread_pool.warmer.max" : "5", "thread_pool.write.queue_size" : "1000", "thread_pool.write.size" : "32", "transform.task_thread_pool.queue_size" : "4", "transform.task_thread_pool.size" : "4", "transport.bind_host" : [ "_site_" ], "transport.compress" : "false", "transport.connect_timeout" : "30s", "transport.connections_per_node.bulk" : "3", "transport.connections_per_node.ping" : "1", "transport.connections_per_node.recovery" : "2", "transport.connections_per_node.reg" : "6", "transport.connections_per_node.state" : "1", "transport.features.x-pack" : "true", "transport.host" : [ "_site_" ], "transport.netty.boss_count" : "1", "transport.netty.receive_predictor_max" : "64kb", "transport.netty.receive_predictor_min" : "64kb", "transport.netty.receive_predictor_size" : "64kb", "transport.netty.worker_count" : "64", "transport.ping_schedule" : "-1", "transport.port" : "9300", "transport.publish_host" : [ "_site_" ], "transport.publish_port" : "-1", "transport.tcp.compress" : "false", "transport.tcp.connect_timeout" : "30s", "transport.tcp.keep_alive" : "true", "transport.tcp.keep_count" : "-1", "transport.tcp.keep_idle" : "-1", "transport.tcp.keep_interval" : "-1", "transport.tcp.no_delay" : "true", "transport.tcp.port" : "9300", "transport.tcp.receive_buffer_size" : "-1b", "transport.tcp.reuse_address" : "true", "transport.tcp.send_buffer_size" : "-1b", "transport.tcp_no_delay" : "true", "transport.tracer.exclude" : [ "internal:discovery/zen/fd*", "internal:coordination/fault_detection/*", "cluster:monitor/nodes/liveness" ], "transport.tracer.include" : [ ], "transport.type" : "security4", "transport.type.default" : "netty4", "xpack.ccr.ccr_thread_pool.queue_size" : "100", "xpack.ccr.ccr_thread_pool.size" : "32", "xpack.ccr.enabled" : "true", "xpack.data_frame.enabled" : "true", "xpack.enrich.enabled" : "true", "xpack.flattened.enabled" : "true", "xpack.graph.enabled" : "true", "xpack.http.default_connection_timeout" : "10s", "xpack.http.default_read_timeout" : "10s", "xpack.http.max_response_size" : "10mb", "xpack.http.proxy.host" : "", "xpack.http.proxy.port" : "0", "xpack.http.proxy.scheme" : "", "xpack.http.whitelist" : [ "*" ], "xpack.idp.allowed_nameid_formats" : [ "urn:oasis:names:tc:SAML:2.0:nameid-format:transient" ], "xpack.idp.contact.email" : "", "xpack.idp.contact.given_name" : "", "xpack.idp.contact.surname" : "", "xpack.idp.defaults.authn_expiry" : "5m", "xpack.idp.defaults.nameid_format" : "urn:oasis:names:tc:SAML:2.0:nameid-format:transient", "xpack.idp.enabled" : "false", "xpack.idp.entity_id" : "", "xpack.idp.metadata.signing.keystore.alias" : "", "xpack.idp.organization.display_name" : "", "xpack.idp.organization.name" : "", "xpack.idp.organization.url" : "http:", "xpack.idp.privileges.application" : "", "xpack.idp.privileges.cache.size" : "100", "xpack.idp.privileges.cache.ttl" : "90m", "xpack.idp.signing.keystore.alias" : "", "xpack.idp.slo_endpoint.post" : "https:", "xpack.idp.slo_endpoint.redirect" : "https:", "xpack.idp.sp.cache.size" : "1000", "xpack.idp.sp.cache.ttl" : "60m", "xpack.idp.sp.wildcard.path" : "wildcard_services.json", "xpack.idp.sso_endpoint.post" : "https:", "xpack.idp.sso_endpoint.redirect" : "https:", "xpack.ilm.enabled" : "true", "xpack.license.self_generated.type" : "trial", "xpack.license.upload.types" : [ "standard", "gold", "platinum", "enterprise", "trial" ], "xpack.logstash.enabled" : "true", "xpack.ml.autodetect_process" : "true", "xpack.ml.datafeed_thread_pool.core" : "1", "xpack.ml.datafeed_thread_pool.keep_alive" : "1m", "xpack.ml.datafeed_thread_pool.max" : "512", "xpack.ml.enable_config_migration" : "true", "xpack.ml.enabled" : "true", "xpack.ml.inference_model.cache_size" : "40%", "xpack.ml.inference_model.time_to_live" : "5m", "xpack.ml.job_comms_thread_pool.core" : "4", "xpack.ml.job_comms_thread_pool.keep_alive" : "1m", "xpack.ml.job_comms_thread_pool.max" : "2048", "xpack.ml.max_anomaly_records" : "500", "xpack.ml.max_inference_processors" : "50", "xpack.ml.max_lazy_ml_nodes" : "0", "xpack.ml.max_machine_memory_percent" : "30", "xpack.ml.max_model_memory_limit" : "0b", "xpack.ml.max_open_jobs" : "20", "xpack.ml.min_disk_space_off_heap" : "5gb", "xpack.ml.node_concurrent_job_allocations" : "2", "xpack.ml.persist_results_max_retries" : "20", "xpack.ml.process_connect_timeout" : "10s", "xpack.ml.utility_thread_pool.core" : "1", "xpack.ml.utility_thread_pool.keep_alive" : "10m", "xpack.ml.utility_thread_pool.max" : "2048", "xpack.monitoring.collection.ccr.stats.timeout" : "10s", "xpack.monitoring.collection.cluster.stats.timeout" : "10s", "xpack.monitoring.collection.enabled" : "true", "xpack.monitoring.collection.enrich.stats.timeout" : "10s", "xpack.monitoring.collection.index.recovery.active_only" : "false", "xpack.monitoring.collection.index.recovery.timeout" : "10s", "xpack.monitoring.collection.index.stats.timeout" : "10s", "xpack.monitoring.collection.indices" : [ ], "xpack.monitoring.collection.interval" : "10s", "xpack.monitoring.collection.ml.job.stats.timeout" : "10s", "xpack.monitoring.collection.node.stats.timeout" : "10s", "xpack.monitoring.elasticsearch.collection.enabled" : "true", "xpack.monitoring.enabled" : "true", "xpack.monitoring.history.duration" : "168h", "xpack.notification.email.default_account" : "", "xpack.notification.email.html.sanitization.allow" : [ "body", "head", "_tables", "_links", "_blocks", "_formatting", "img:embedded" ], "xpack.notification.email.html.sanitization.disallow" : [ ], "xpack.notification.email.html.sanitization.enabled" : "true", "xpack.notification.jira.default_account" : "", "xpack.notification.pagerduty.default_account" : "", "xpack.notification.reporting.interval" : "15s", "xpack.notification.reporting.retries" : "40", "xpack.notification.reporting.warning.enabled" : "true", "xpack.notification.slack.default_account" : "", "xpack.rollup.enabled" : "true", "xpack.rollup.task_thread_pool.queue_size" : "4", "xpack.rollup.task_thread_pool.size" : "4", "xpack.security.audit.enabled" : "false", "xpack.security.audit.logfile.emit_node_host_address" : "false", "xpack.security.audit.logfile.emit_node_host_name" : "false", "xpack.security.audit.logfile.emit_node_id" : "true", "xpack.security.audit.logfile.emit_node_name" : "false", "xpack.security.audit.logfile.events.emit_request_body" : "false", "xpack.security.audit.logfile.events.exclude" : [ ], "xpack.security.audit.logfile.events.include" : [ "ACCESS_DENIED", "ACCESS_GRANTED", "ANONYMOUS_ACCESS_DENIED", "AUTHENTICATION_FAILED", "CONNECTION_DENIED", "TAMPERED_REQUEST", "RUN_AS_DENIED", "RUN_AS_GRANTED" ], "xpack.security.authc.anonymous.authz_exception" : "true", "xpack.security.authc.anonymous.roles" : [ ], "xpack.security.authc.anonymous.username" : "_anonymous", "xpack.security.authc.api_key.cache.hash_algo" : "ssha256", "xpack.security.authc.api_key.cache.max_keys" : "10000", "xpack.security.authc.api_key.cache.ttl" : "24h", "xpack.security.authc.api_key.delete.interval" : "24h", "xpack.security.authc.api_key.delete.timeout" : "-1", "xpack.security.authc.api_key.enabled" : "false", "xpack.security.authc.api_key.hashing.algorithm" : "pbkdf2", "xpack.security.authc.password_hashing.algorithm" : "bcrypt", "xpack.security.authc.realms.file.file1.order" : "0", "xpack.security.authc.realms.native.native1.order" : "1", "xpack.security.authc.reserved_realm.enabled" : "false", "xpack.security.authc.run_as.enabled" : "true", "xpack.security.authc.success_cache.enabled" : "true", "xpack.security.authc.success_cache.expire_after_access" : "1h", "xpack.security.authc.success_cache.size" : "10000", "xpack.security.authc.token.delete.interval" : "30m", "xpack.security.authc.token.delete.timeout" : "-1", "xpack.security.authc.token.enabled" : "false", "xpack.security.authc.token.thread_pool.queue_size" : "1000", "xpack.security.authc.token.thread_pool.size" : "1", "xpack.security.authc.token.timeout" : "20m", "xpack.security.authz.store.roles.cache.max_size" : "10000", "xpack.security.authz.store.roles.field_permissions.cache.max_size_in_bytes" : "104857600", "xpack.security.authz.store.roles.index.cache.max_size" : "10000", "xpack.security.authz.store.roles.index.cache.ttl" : "20m", "xpack.security.authz.store.roles.negative_lookup_cache.max_size" : "10000", "xpack.security.automata.cache.enabled" : "true", "xpack.security.automata.cache.size" : "10000", "xpack.security.automata.cache.ttl" : "48h", "xpack.security.automata.max_determinized_states" : "100000", "xpack.security.dls.bitset.cache.size" : "10%", "xpack.security.dls.bitset.cache.ttl" : "2h", "xpack.security.dls_fls.enabled" : "true", "xpack.security.enabled" : "true", "xpack.security.encryption.algorithm" : "AES/CTR/NoPadding", "xpack.security.encryption_key.algorithm" : "AES", "xpack.security.encryption_key.length" : "128", "xpack.security.filter.always_allow_bound_address" : "true", "xpack.security.fips_mode.enabled" : "false", "xpack.security.http.filter.allow" : [ ], "xpack.security.http.filter.deny" : [ ], "xpack.security.http.filter.enabled" : "true", "xpack.security.http.ssl.enabled" : "false", "xpack.security.ssl.diagnose.trust" : "true", "xpack.security.transport.filter.allow" : [ ], "xpack.security.transport.filter.deny" : [ ], "xpack.security.transport.filter.enabled" : "true", "xpack.security.transport.ssl.enabled" : "true", "xpack.security.user" : null, "xpack.slm.enabled" : "true", "xpack.sql.enabled" : "true", "xpack.transform.enabled" : "true", "xpack.transform.num_transform_failure_retries" : "10", "xpack.vectors.enabled" : "true", "xpack.watcher.actions.bulk.default_timeout" : "", "xpack.watcher.actions.index.default_timeout" : "", "xpack.watcher.bulk.actions" : "1", "xpack.watcher.bulk.concurrent_requests" : "0", "xpack.watcher.bulk.flush_interval" : "1s", "xpack.watcher.bulk.size" : "1mb", "xpack.watcher.enabled" : "false", "xpack.watcher.encrypt_sensitive_data" : "false", "xpack.watcher.execution.default_throttle_period" : "5s", "xpack.watcher.execution.scroll.size" : "0", "xpack.watcher.execution.scroll.timeout" : "", "xpack.watcher.history.cleaner_service.enabled" : "true", "xpack.watcher.index.rest.direct_access" : "", "xpack.watcher.input.search.default_timeout" : "", "xpack.watcher.internal.ops.bulk.default_timeout" : "", "xpack.watcher.internal.ops.index.default_timeout" : "", "xpack.watcher.internal.ops.search.default_timeout" : "", "xpack.watcher.stop.timeout" : "30s", "xpack.watcher.transform.search.default_timeout" : "", "xpack.watcher.trigger.schedule.ticker.tick_interval" : "500ms", "xpack.watcher.watch.scroll.size" : "0" } }
配置项目说明
https://blog.csdn.net/u013200380/article/details/109285071
文章评论