es
摘要:GET _cat/shardsGET _cat/indices?vGET _cat/health?vGET _cat/shards?vGET _cat/nodes?vPUT your2_index{ "settings": { "number_of_shards": 3 , "number_of_r
阅读全文
posted @
2022-06-15 10:49
401335990
阅读(15)
推荐(0) 编辑
logstash
摘要:[root@linux1 bin]# ./logstash -e 'input { stdin{}} output{stdout{codec => rubydebug}}' 测试自定义语法是否正确 把最后的 -t 去掉,正式启动
阅读全文
posted @
2022-06-15 10:48
401335990
阅读(18)
推荐(0) 编辑
清理磁盘
摘要:#!/bin/bash used=`free -m | awk 'NR==2' | awk '{print $3}'` free=`free -m | awk 'NR==2' | awk '{print $4}'` echo " " >> /opt/dropcache/logs.txt date >
阅读全文
posted @
2022-06-07 17:59
401335990
阅读(209)
推荐(0) 编辑