摘要:
nginx-log-rotate.sh: #!/bin/bash# # Comment:Used for rotating nginx log file.# Author: alin# Date: 09/27/2018# Version: 1.0# LOG_FILE="*.log"LOG_DIR=/ 阅读全文
摘要:
r_expect.sh: #!/bin/expect -f set timeout 30 #spawn rsync -avz --delete --exclude-from=exclude.list -e "ssh -i /home/user/.ssh/key" user@192.168.1.20: 阅读全文
摘要:
es-index-clear.sh: #!/bin/bash# # Module: es-index-clear# Comment: To clear elastic-index on interval!# Date: 2018/10/5# Author: aodi# Version: 1.0# # 阅读全文
摘要:
elk-gen-data.sh: #!/usr/bin/bash# # Comment: to generate huge test data of elk log...# Author: aodi# Date: 2018/09/14# Version: 1.0# # 设置第一个参数:请求url文件 阅读全文
摘要:
#!/bin/bash# Used for other system-environment update! echo -e '\n\033[35m~~请使用root权限运行此脚本~~\033[0m\n'read -n 1 -p "Sure?(y/n):" sureechoif [ $sure == 阅读全文
摘要:
elasticsearch-restart: #!/bin/bash PID=`ps -ef|grep elasticsearch|grep -vE 'grep|controller|elasticsearch-restart'|awk '{print $2}'`kill -9 $PID >/dev 阅读全文
摘要:
ab -n 10000 -c 50 -A 'Authorization:ac214b4d-e970-492d-a1f2-ee41a64e8c8d' http://newh5.430v.com/member/accountchange/findAccountChageResult?pageNo=1&t 阅读全文
摘要:
filebeat+elk日志收集平台搭建流程 1、 整体简介: 模式:单机 平台:Linux - centos - 7 ELK:elasticsearch、logstash、kibana三款开源软件的集合。 FILEBEAT:代替logstash的采集功能,轻量、耗用小。 目前收集的有nginx日志 阅读全文
摘要:
filebeat+elk组合之kafka单机部署 准备: kafka下载链接地址:http://kafka.apache.org/downloads.html 在这里下载kafka_2.12-2.10.0.0.tgz(kafka和zookeeper都用同一个包里的)。 一、安装和配置jdk(下载jd 阅读全文
摘要:
mongodb文档数据库的安装: wget https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.0.4.tgz tar -zxf mongodb-linux-x86_64-rhel70-4.0.4.tgz mv mongodb 阅读全文