
Elasticsearch Logstash
haojiliang
这个作者很懒,什么都没留下…
展开
-
通过 elasticsearch-sql 使用 SQL 语句聚合查询 Elasticsearch 获取各种 metrics 度量值
Elasticsearch 的 metrics(度量)包含count、sum、avg、max、min、percentiles (百分位数)、Unique count(基数 || 去重计数)、Median(中位数)、扩展度量(含方差、平方和、标准差、标准差界限)、Percentile ranks(百分位等级)https://blog.iaiot.com/Elasticsearch-metric...原创 2017-12-27 10:43:07 · 6410 阅读 · 0 评论 -
x-pack license 过期
https://blog.iaiot.com/xpack-password.html原文地址:http://www.lanrenkaifa.com/post/61原文2地址:http://blog.51yip.com/server/1906.htmlkibana x-pack安装完了后,license有效期只有1个月,并且每年需要,要重新续一次。1,注册 https://reg...转载 2019-03-18 11:47:35 · 1339 阅读 · 0 评论 -
logstash 接收 syslog 消息调试
原文:https://blog.iaiot.com/logstash-syslog.htmllinuxlogger、rsyslog:logger 生成 message 日志:logger -t aaaaaaaaa mmmmmmmmmmm查看生成的日志:tail -f /var/log/messagesrsyslog 配置:/etc/rsyslog.conf配置 rsyslog...原创 2019-02-22 16:03:50 · 2778 阅读 · 0 评论 -
filebeat 作为服务启动,而非命令行启动时,传输一批数据后便停止工作 CRIT Unable to publish events to console
新博客地址:https://blog.iaiot.com/filebeat-error1.htmlfilebeat 作为服务启动,而非命令行启动时,传输一批数据后便停止工作,日志中输出如下信息:2018-12-03T17:07:29+08:00 CRIT Unable to publish events to console: write /dev/stdout: The handle i...原创 2018-12-03 17:37:43 · 3810 阅读 · 0 评论 -
elasticsearch 笔记 elasticsearch-head
新博客地址:https://blog.iaiot.com/elasticsearch-head.html1.elasticsearch5.0 以上版本安装 elasticsearch-heades5.1 中,elasticsearch-head不能放在 elasticsearch 的 plugins、modules 目录下不能使用 elasticsearch-plugin instal...原创 2018-11-20 22:21:17 · 279 阅读 · 0 评论 -
Logstash logstash.conf 配置示例
新博客地址:https://blog.iaiot.com/logstash-conf.html# Sample Logstash configuration for creating a simple# File -> Logstash -> Elasticsearch pipeline.input { file { path => "/data/ngin...原创 2018-11-08 11:30:55 · 10542 阅读 · 0 评论 -
Elasticsearch Changing Mapping with Zero Downtime(ES 不停机更新 mapping)
新博客地址:https://blog.iaiot.com/es-nostop-up-mapping.html官方地址:https://www.elastic.co/cn/blog/changing-mapping-with-zero-downtime Editor's Note(May 1, 2017):This blog was originally published sev...翻译 2018-10-08 22:18:04 · 301 阅读 · 0 评论 -
通过python使用游标查询Elasticsearch数据并写入文件
https://blog.iaiot.com/Elasticsearch-python.htmlimport jsonimport osimport sysimport urllib2reload(sys)sys.setdefaultencoding('utf-8')class exportEsData(): def __init__(self, url, sitei...原创 2018-02-06 10:36:35 · 1640 阅读 · 0 评论 -
Elasticsearch常用命令整理
在命令行查看Elasticsearch信息及数据,另有es head插件(可以自己安装,另外在谷歌浏览器扩展程序里也有),可以直接在网页中可视化操作Elasticsearchhttps://blog.iaiot.com/Elasticsearch-cmd.html1.查看Elasticsearch集群状态curl http://10.1.1.113:9200/_cluster/h...原创 2018-01-24 15:16:04 · 4243 阅读 · 0 评论 -
通过 elasticsearch-sql 使用 SQL 语句聚合查询 Elasticsearch 获取各种 buckets 桶
Elasticsearch 的 buckets(桶)包含 Histogram、Date Histogram、Range、Date Range、Terms、IPv4 Range、Significant Terms 等;https://blog.iaiot.com/Elasticsearch-buckets.html1.Histogram:SELECT * FROM INDEX-2017...原创 2017-12-28 18:08:58 · 3155 阅读 · 0 评论 -
Elasticsearch 笔记 倒排索引 keyword 和 text
https://blog.iaiot.com/elasticsearch-notes.html1.倒排索引(Inverted Index):倒排索引是实现“单词-文档矩阵”的一种具体存储形式,通过倒排索引,可以根据单词快速获取包含这个单词的文档列表。倒排索引主要由两个部分组成:“单词词典”和“倒排文件”。原文:http://www.cnblogs.com/zlslch/p/6440114....转载 2019-03-19 09:42:54 · 1217 阅读 · 0 评论