elastic stack一系列产品

elastic stack一系列产品

 

 

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

查看一个集群中有哪几个节点:

elastic stack一系列产品

elastic stack一系列产品

kibana的配置文件中配置上elasticsearch集群的地址信息,默认是localhost的es集群

 

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

 

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

 

elastic stack一系列产品

elastic stack一系列产品

 

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

用filebeat收集后就成为json格式了如下:

elastic stack一系列产品

 

elastic stack一系列产品

 

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

filebeat配置中指出输出到logstash

logstash配置中指出监听在一个端口

elastic stack一系列产品

elastic stack一系列产品

elastic stack一系列产品

登陆:admin       111111

 

elastic stack一系列产品

 

比如用es做为一个系统的存储,可以设计多个索引,每个索引中创建不同的类型,每个类型包括多个document,就跟mysql中数据库、表、记录类似

 

elastic stack一系列产品

一个索引可以有多个分片,在创建索引时候指定,每个分片可以有多个备份,备份数量时间可以动态修改的,默认一个索引包括5个分片,每个分片是一个备份。

elastic stack一系列产品

elastic stack一系列产品

filter 只是查询,返回满足条件的数据,返回的数据中没有_score这个属性。query返回的数据中包括_score这个属性。

es中的插入:本质是把一个json格式的数据插入到***index的***type中去

查询:是从***index的***type中搜索满足条件的document