前提安装好ES和Kibana NGINX日志格式如下 log_format main '$remote_addr - $remote_user [$time_local] "$request" ' '$status $body_bytes_sent "$http_referer" ' '"$http ...
分类:
其他好文 时间:
2020-07-10 14:57:44
阅读次数:
123
源地址:(https://github.com/logstash-plugins/logstash-patterns-core/blob/master/patterns/grok-patterns)USERNAME [a-zA-Z0-9._-]+ USER %{USERNAME} EMAILLOCA ...
分类:
其他好文 时间:
2020-07-10 14:57:23
阅读次数:
118
1.elasticsearch、Kibana版本必须一致 刚开始我看了一篇:https://www.jianshu.com/p/a72cd58d0696 看着是很简单,就是brew一顿跑,结果开开心心跑完了,哦吼~brew下载回来的一直报如下错误: Kibana server is not read ...
分类:
其他好文 时间:
2020-07-09 16:37:12
阅读次数:
249
packageesimport("bytes""context""encoding/json""errors""fmt"elasticsearch"github.com/elastic/go-elasticsearch/v6"log"github.com/sirupsen/logrus")vares*elasticsearch.ClientvaresAddrstring="http://10.17
分类:
其他好文 时间:
2020-07-09 09:24:27
阅读次数:
84
1、安装ES ElasticSearch: https://mirrors.huaweicloud.com/elasticsearch/?C=N&O=D 下载7.6.2版本 Linux elasticsearch-7.6.2-linux-x86_64.tar.gz windows elasticse ...
分类:
其他好文 时间:
2020-07-09 00:50:42
阅读次数:
78
本篇涉及内容:ElasticSearch安装、ik分词器插件、head插件、kibana安装。 这里给出es7.8.0版本的安装包,网不好的朋友可以使用,链接如下: 链接:https://pan.baidu.com/s/1shdlDZEGII6BQ2M9J641ww 提取码:5ita 以下,除了he ...
分类:
其他好文 时间:
2020-07-08 23:03:19
阅读次数:
80
The Elasticsearch target works best with the BufferingWrapper target applied. By default the target assumes an Elasticsearch node is running on the lo ...
分类:
其他好文 时间:
2020-07-08 15:30:48
阅读次数:
58
elasticsearch-head可理解为跟DBeaver一样是一个数据可视化工具,但是这个工具并没有理想中那么好用坑也是很多,我已经在我的github上fork了一份修改后的版本:https://github.com/zhaoyunxing92/elasticsearch-head 系列文章 e ...
分类:
其他好文 时间:
2020-07-08 15:24:11
阅读次数:
85
1、先修改Elasticsearch配置文件,增加如下配置 http.cors.allow-origin: "*" http.cors.enabled: true http.cors.allow-headers : X-Requested-With,X-Auth-Token,Content-Type ...
分类:
其他好文 时间:
2020-07-08 13:15:05
阅读次数:
119