当前位置:网站首页>Elk cluster architecture optimization
Elk cluster architecture optimization
2022-07-20 19:41:00 【Jiangxl~】
ELK Cluster architecture optimization
1. Cluster architecture extension
When the amount of data collected by the log reaches hundreds G, Then we need to introduce kafka There's a message queue ,kafka Processing message data ratio redis A lot of powerful , And support cluster mode .
When the equivalent level is very large , Query is slow , Then you can expand ES The number of nodes in the cluster ,ES It's a distributed cluster , It can easily complete the expansion and contraction of nodes .
If log data warehousing is slow , At this time, we need to add more logstash, At the same time, process the data , Speed up data warehousing .
2. About the optimization of log index library
Plan the index library according to the application , Try to avoid writing multiple applications into one index library , Affect query speed , It is better to have an application and a log index library , The advantage of this is that you can clean the log data of different applications anytime and anywhere , in addition , The name of the index library should preferably be named in days , You can clean up log data regularly through scripts , Avoid excessive disk usage .
Unused index libraries can be deleted or closed .
The command to close the index library is as follows , Both support wildcard forms .
# Close the index library
curl -XPOST "http://127.0.0.1:9200/ The index name -*/_close?pretty"
# Open index library
curl -XPOST "http://127.0.0.1:9200/ The index name -*/_open?pretty"
The command to delete the index library is as follows , Wildcard forms are supported .
curl -XDELETE "http://127.0.0.1:9200/ The index name -*"
边栏推荐
- DML中delete和truncate的区别
- 数组的一些经典练习回顾
- STM32 -- RTC real time clock
- P5023 [noip2018 improvement group] solution to the number filling game
- Crazy God redis notes 03
- Is it safe for Shenwan Hongyuan securities to open an account? Can I buy stocks after opening an account
- Mysql常用语句知识点
- P5024 [NOIP2018 提高组] 保卫王国 题解
- cout格式化输出常用函数及标志汇总
- 通俗易懂:MOS管基本知识
猜你喜欢
[open source] magicdata Ramc: 180 hour Chinese conversational voice data set officially released
MySQL基础——数据库索引与事务
I met me | virtual digital human cultivation, facegood virtual digital human open source technology seminar
redis集群搭建(一主两从三哨兵)完整版带验证报告
社区上新 | MagicHub.io开源这波数据相当“奥利给”
基于C语言的自动机dot画图脚本设计
水溶性阿魏酸钠白蛋白纳米粒/P-CS-NP包载替尼泊苷多层包衣血清蛋白纳米粒的制备方法
Memory distribution in C language and program running (BSS segment, data segment, code segment, stack)
[arrays and common operations of arrays]
通俗易懂:MOS管基本知识
随机推荐
首批 | Magic Data等共10家企业推进中国通信院数据标注平台产品评测
S3c2440 u-boot migration - norflash driver support - s29al016u-boot version: 2008.10 development board: mini2440
自动化运维管理工Ansible安装与配置
Preparation of PDA RBCs NPs polydopamine modified erythrocyte nanoparticles / hyaluronic acid coated brucine bovine serum protein nanoparticles
什么决定着AI机器人的“人品”?
CentOS7中安装mysql
关于IO流和String常见的一些面试题
七月集训(第19天) —— 二叉树
Redis cluster setup (one master, two slave and three sentinels) complete version with verification report
cout格式化输出常用函数及标志汇总
ARM指令CMP详解
[open source] magicdata Ramc: 180 hour Chinese conversational voice data set officially released
Res bsanp resveratrol albumin nanoparticles / albumin nanoparticles carrier encapsulated with taxanes
数组-sort用法(排序) 可以使用函数
Magichub accent dialogue speech recognition challenge registration begins
Deep learning - deep understanding of normalization and batchnorm (theoretical part)
Magic data is listed in the top 100 digital economy of Internet Weekly 2022
>/dev/null 2>&1 &
P5024 [noip2018 improvement group] solution to defending the Kingdom
Interlocked原子访问系列函数