随笔分类 -  ESstack

摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/16072599.html 创建快照仓库 curl -H "Content-Type: application/json" -XPOST http://127.0.0.1:9200/_snaps 阅读全文
posted @ 2022-03-29 16:37 wshenJin 阅读(1456) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15161861.html 索引生命周期管理的本质--RollOver 当现有索引被认为太大或太旧时,滚动索引API将别名滚动到新索引。 该API接受一个别名和一个条件列表。别名必须只指向一个索 阅读全文
posted @ 2021-08-19 15:06 wshenJin 阅读(1148) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15160383.html 为索引设置别名后,就可以通过这个别名来操作索引,ES会自动将别名映射到实际的索引名中。 alias的基本语法: 给现有index添加alias: PUT /_alia 阅读全文
posted @ 2021-08-19 10:07 wshenJin 阅读(1203) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15156235.html 1、创建索引时指定 PUT /nginx-logs { "settings": { "number_of_shards":3, "number_of_replicas 阅读全文
posted @ 2021-08-18 12:19 wshenJin 阅读(731) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15079858.html 索引的操作 查看所有索引: GET /_cat/indices?v 创建索引: PUT /索引名称 PUT /people { "acknowledged" : tr 阅读全文
posted @ 2021-07-30 15:29 wshenJin 阅读(834) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/15075759.html 所有的 cat 命令都接受查询字符串参数 help,以查看它们提供的所有 header 和信息。 _cat通用参数: verbose :GET /_cat/XXX/? 阅读全文
posted @ 2021-07-29 16:28 wshenJin 阅读(250) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/13816873.html 索引: 在Elasticsearch中存储数据的行为就叫做索引(indexing),不过在索引之前,我们需要明确数据应该存储在哪里。 在Elasticsearch中, 阅读全文
posted @ 2020-10-14 19:44 wshenJin 阅读(805) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/13673593.html Logstash必须要有input和output。 input插件 这里只介绍 stdin、file 和beats 插件 标准输入:stdin 一个标准输入配置实例: 阅读全文
posted @ 2020-09-15 15:57 wshenJin 阅读(923) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/13666614.html 安装和配置 安装 [root@ ~]# wget https://artifacts.elastic.co/downloads/logstash/logstash-7 阅读全文
posted @ 2020-09-14 14:43 wshenJin 阅读(621) 评论(0) 推荐(0) 编辑
摘要:inputs log sdtin - type: stdin redis slowlog - type: redis enabled: true hosts: ["localhost:6379"] password: foobared ## How often the input checks fo 阅读全文
posted @ 2020-09-12 12:35 wshenJin 阅读(6153) 评论(0) 推荐(0) 编辑
摘要:个人学习笔记,谢绝转载!!! 原文:https://www.cnblogs.com/wshenjin/p/13652361.html filebeat简介 Beats家族的6个成员: Packetbeat:网络数据(收集网络流量数据) Metricbeat:指标(收集系统、进程和文件系统级别的CPU 阅读全文
posted @ 2020-09-11 16:18 wshenJin 阅读(853) 评论(0) 推荐(0) 编辑
摘要:索引: 在Elasticsearch中存储数据的行为就叫做索引(indexing),不过在索引之前,我们需要明确数据应该存储在哪里。 在Elasticsearch中,文档归属于一种类型(type),而这些类型存在于索引(index)中,我们可以画一些简单的对比图来类比传统关系型数据库: Relati 阅读全文
posted @ 2017-11-08 11:02 wshenJin 阅读(164) 评论(0) 推荐(0) 编辑

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