Loading...
详细内容参见:https://mp.weixin.qq.com/s?__biz=MzI2NDY1MTA3OQ==&mid=2247488464&idx=1&sn=55617717eed641da5f4c362c50af2823
用户聚合数量查询 $params = [ 'index' => ES::USER_ACTION_RECORD_LOGS, 'type' => '_doc', 'body' => [ 'query' => [ 'bool' ...
1、安装wget https://mirrors.tuna.tsinghua.edu.cn/elasticstack/7.x/yum/7.4.2/filebeat-7.4.2-x86_64.rpm rpm -ivh filebeat-7.4.2-x86_64.rpm 2、更改配置 filebeat.inputs: - type: log enabled: true json.ke...
查询样例1、查询活动activityId是825,并且时间在1596168870和15961688701之间的数据,并取出statCount最大值 { "query": { "bool": { "filter": [ { "term": { ...
之前写过了一篇搭建ELK的文章,但是里面这是放了composer.yml的配置文件,这次找到了一个更方便的那么久弄一个具体的教程吧.从https://github.com/deviantony/docker-elk 下载最新的配置文件进入docker-elk中执行docker-composer up -d下载镜像并启动容器启动完成之后访问9200端口查看elasticsearch是否可用...