上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
摘要: 有个需求必须从shell 脚本里面去调用 python的脚本,然后在python脚本里面死活获取不到环境变量,然后各种尝试发现获取不到环境变量(启动容器是传入),我的环境是一个自制的docker-compose的集nginx,php,memcache,cronjob (ubuntu)四个容器。 多次 阅读全文
posted @ 2021-11-01 17:05 JvvYou 阅读(728) 评论(0) 推荐(0) 编辑
摘要: 网上很多恢复方式都不符合我的要求,当时我的文件系统已经损坏,我发现testdisk 同一个公司开发的另一款牛逼的工具可以满足我的要求,绕过文件系统。 文档上传至我的百度云。 testdisk 阅读全文
posted @ 2021-11-01 16:56 JvvYou 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1、filebeat windows版 filebeat.inputs: - type: log enabled: true paths: - C:\logs\*.log multiline.pattern: '^[0-9]{4}-[0-9]{2}-[0-9]{2}' multiline.negat 阅读全文
posted @ 2021-09-22 17:16 JvvYou 阅读(236) 评论(0) 推荐(0) 编辑
摘要: 参考: https://blog.csdn.net/yangbodong22011/article/details/78650896 https://www.cnblogs.com/rexcheny/p/9382342.html 阅读全文
posted @ 2021-09-16 10:30 JvvYou 阅读(22) 评论(0) 推荐(0) 编辑
摘要: 1、单节点部署,相同分片不能在一个节点上。 curl -s -u elastic:$BK_ES7_ADMIN_PASSWORD -X GET "http://192.168.60.206:9200/_cluster/health?pretty" { "cluster_name" : "bkee-es 阅读全文
posted @ 2021-08-24 16:05 JvvYou 阅读(390) 评论(0) 推荐(0) 编辑
摘要: pipeline{ agent any environment { def git_url = "###" def appdir= "###" def localAppRoot = "###" def stagingip="###" def furl="###" } stages{ stage('c 阅读全文
posted @ 2021-08-11 18:08 JvvYou 阅读(523) 评论(0) 推荐(0) 编辑
摘要: 中间加了一层转换,日志从filebeat采集进入logstash,然后将日志中的时间字段覆盖到es的@timestamp字段,kibana会将这个字段当做是日志的上传时间 input { beats { port => 10515 } } filter{ if "xxx" in [tags]{ gr 阅读全文
posted @ 2021-07-21 18:54 JvvYou 阅读(400) 评论(0) 推荐(0) 编辑
摘要: pipeline{ agent any environment { def appdir = "*" } stages{ stage('clear dir'){ steps{ echo "clear dir" sh ''' #!/bin/bash -xe rm -rf ./* ''' } } sta 阅读全文
posted @ 2021-03-31 15:09 JvvYou 阅读(137) 评论(0) 推荐(0) 编辑
摘要: 采集nginx日志的时候发现从filebeat采集的json日志到elasticsearch里面都是keyword类型,导致我模糊查询部分字段的时候无法模糊匹配,所以需要将某些字段改成text类型。 filebeat.inputs: - type: log enabled: true json.ke 阅读全文
posted @ 2021-03-28 18:38 JvvYou 阅读(1121) 评论(0) 推荐(1) 编辑
摘要: 一、安装chartmuseum https://github.com/helm/chartmuseum https://blog.csdn.net/weixin_34226182/article/details/86278522 二、启动服务 export TENCENT_CLOUD_COS_SEC 阅读全文
posted @ 2020-11-16 18:40 JvvYou 阅读(784) 评论(0) 推荐(0) 编辑
上一页 1 ··· 3 4 5 6 7 8 9 10 11 ··· 14 下一页
点击右上角即可分享
微信分享提示