随笔分类 -  elk stack&& filebeat

摘要:基本上是官网的步骤,两个文档 [https://www.elastic.co/guide/en/elasticsearch/reference/7.17/security-minimal-setup.html#_prerequisites_10](https://www.elastic.co/gui 阅读全文
posted @ 2022-08-25 14:12 过去的我 阅读(1058) 评论(0) 推荐(0) 编辑
摘要:我用的是filebeat, input { beats { port => 5783 } } filter { json { source => "message" } } output { elasticsearch { hosts => [ "xxx:9200","xxxxx:9200" ] i 阅读全文
posted @ 2022-07-31 13:56 过去的我 阅读(460) 评论(0) 推荐(0) 编辑
摘要:nginx logging to syslog using filebeat 全文 http://nginx.org/en/docs/syslog.html error_log 和 access_log指令都支持把日志通过syslog发出去。这边稍微记录一下我的实践。比较简单。毕竟机器多了,一台台登 阅读全文
posted @ 2021-08-15 15:26 过去的我 阅读(189) 评论(0) 推荐(0) 编辑
摘要:1. zookeeper配置 kafka是依赖zookeeper的,所以先要运行zookeeper,下载的tar包里面包含zookeeper 需要改一下dataDir ,放在/tmp可是非常危险的 dataDir=/data/zookeeper # the port at which the cli 阅读全文
posted @ 2021-01-08 10:01 过去的我 阅读(927) 评论(0) 推荐(0) 编辑
摘要:比如频繁报如下错误, [2019-06-16T15:31:22,778][DEBUG][o.e.a.a.c.n.i.TransportNodesInfoAction] [node-xxx] failed to execute on node [kQrOKwMhSZy8O42Hgs6sdg] org. 阅读全文
posted @ 2020-04-04 17:19 过去的我 阅读(5780) 评论(0) 推荐(0) 编辑
摘要:elasticsearch cluster 集群 red 原因 分析 解决 阅读全文
posted @ 2020-04-04 17:02 过去的我 阅读(6299) 评论(1) 推荐(0) 编辑
摘要:elasticsearch 小总结 0. 起因 距离初次写关于es的文章 "https://blog.csdn.net/aca_jingru/article/details/44488703" 已经过去4年多了。。有必要更新一下了。把小tips总结一下。比较浅显。 1. 安装规划配置 规划分软件配置 阅读全文
posted @ 2019-04-07 10:57 过去的我 阅读(185) 评论(1) 推荐(0) 编辑
摘要:centos6下filebeat多开问题 0. 场景 比如之前在用filebeat做收集,但是想新开一个实例把之前的日志全部重新导一遍,如果直接指定filebeat c 是不行的,因为filebeat把文件读取的游标记录在文件里面了。默认是/var/lib/filebeat下面。 网上搜了一下是没找 阅读全文
posted @ 2019-03-24 10:19 过去的我 阅读(951) 评论(0) 推荐(0) 编辑
摘要:delete old data in elasticsearch 0.正文。 其实很简单,就是用他的rest api 发一个delete 请求到 localhost:9200/[indices] [indices]怎么获取?可以用过插件,比如head,marvel等。但是最简单还是通过他的... 阅读全文
posted @ 2015-10-15 08:43 过去的我 阅读(381) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示