上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 39 下一页
摘要: [root@linux1 bin]# ./logstash -e 'input { stdin{}} output{stdout{codec => rubydebug}}' 测试自定义语法是否正确 把最后的 -t 去掉,正式启动 阅读全文
posted @ 2022-06-15 10:48 401335990 阅读(22) 评论(0) 推荐(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 阅读(217) 评论(0) 推荐(0)
摘要: docker run -d --volume=/:/rootfs:ro --volume=/var/run:/var/run:ro --volume=/sys:/sys:ro --volume=/var/lib/docker/:/var/lib/docker:ro --volume=/dev/dis 阅读全文
posted @ 2022-05-30 15:07 401335990 阅读(47) 评论(0) 推荐(0)
摘要: docker run -p 3309:3306 --name mysql-03 -v mysqllogs:/var/log/mysql -e MYSQL_ROOT_PASSWORD=root --restart=always -d mysql:5.7 cd /var/lib/docker/volum 阅读全文
posted @ 2022-05-20 12:26 401335990 阅读(362) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-27 13:22 401335990 阅读(68) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-25 15:05 401335990 阅读(38) 评论(0) 推荐(0)
摘要: 根据json文件导入查询:q=*表示查询所有文档,sort=account_number:asc 表示根据account_number升序排列, pretty 表示以友好的格式显示:_search表示查询接口 不同写法,一样的效果: 任意查询: 查询指定的条数: 显示从第10条查到19条: 查询指定 阅读全文
posted @ 2022-04-24 15:42 401335990 阅读(99) 评论(0) 推荐(0)
摘要: 列出所有索引: curl -X GET "192.168.246.140:9200/_cat/indices?v" 创建索引: curl -X PUT "192.168.246.141:9200/log-test-2022.04.24" 添加索引值: curl -X PUT "192.168.246 阅读全文
posted @ 2022-04-24 12:53 401335990 阅读(770) 评论(0) 推荐(0)
摘要: helm安装: tar zxvf helm-v3.8.1-linux-amd64.tar.gz 解压 cd linux-amd64/ cp helm /usr/bin/ 复制到/usr/bin目录下 helm helm --help 配置仓库: helm repo add stable http:/ 阅读全文
posted @ 2022-04-04 11:27 401335990 阅读(60) 评论(0) 推荐(0)
摘要: 阅读全文
posted @ 2022-04-03 10:53 401335990 阅读(66) 评论(0) 推荐(0)
上一页 1 ··· 27 28 29 30 31 32 33 34 35 ··· 39 下一页