Kibana的安装与配置
Kibana的安装与配置
配置
[root@es01 kibana-5.6.3-linux-x86_64]# egrep -v '^$|^#' config/kibana.yml
server.host: "0.0.0.0"
server.name: "kibana01"
elasticsearch.url: http://localhost:9200
运行:
Kibana的简单使用
使用dev tools工具
1.创建文档post
Elasticsearch写入数据
创建用户
POST /accounts/person/1
{
"name":"john",
"lastname":"johnson",
"job_description":"systems and linux admin"
}
读取数据get
文档的更新post
修改工作描述
POST /accounts/person/1/_update
{
"doc":{
"job_description":"linux mysql network programing"
}
}
删除文档 delete
Elasticsearch的查询语法创建多个文档
Query string风格
Query DSL风格
GET /accounts/person/_search
{
"query":{
"match":{
"name":"tom"
}
}
}
DSL查询风格进行查询