ELK部署
Native controller process has stopped - no new native processes can be started
the default discovery settings are unsuitable for production use; at least one of [discovery.seed_hosts, discovery.seed_providers, cluster.initial_master_nodes] must be configured
开发模式下运行elasticsearch的,elasticsearch.yml中配置 discovery.type=single-node 来避免产生引导并检查received plaintext http traffic on an https channel, closing connection Netty4HttpChannel
关闭 SSL 认证:
config/elasticsearch.yml 中 xpack.security.http.ssl:enabled 设为 false
设置免密登录:
config/elasticsearch.yml 中 xpack.security.enabled 设为 false
ELK查询
Kibana提示 Elasticsearch built-in security features are not enabled. Without authentication, your cluster could be accessible to anyone
elasticsearch.yml中配置 xpack.security.enabled: falseTypes cannot be provided in put mapping requests, unless the include_type_name parameter is set to true
elasticsearch 7.x 之后要加 include_type_name
PUT /cars/transactions/_mapping?include_type_name=true
{
"properties": {
"color": {
"type": "text",
"fielddata": true
}
}
}