会员
周边
新闻
博问
闪存
赞助商
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
JvvYou
博客园
首页
新随笔
联系
订阅
管理
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
2021年11月4日
vue websocket,复制即用
摘要: <template> <div class="test"> <p v-for="item in msglist">{{item.data}}</p> </div> </template> <script> export default { name : 'test', data() { return
阅读全文
posted @ 2021-11-04 18:06 JvvYou
阅读(83)
评论(0)
推荐(0)
2021年11月1日
程序获取不到环境变量
摘要: 有个需求必须从shell 脚本里面去调用 python的脚本,然后在python脚本里面死活获取不到环境变量,然后各种尝试发现获取不到环境变量(启动容器是传入),我的环境是一个自制的docker-compose的集nginx,php,memcache,cronjob (ubuntu)四个容器。 多次
阅读全文
posted @ 2021-11-01 17:05 JvvYou
阅读(779)
评论(0)
推荐(0)
磁盘数据删除恢复
摘要: 网上很多恢复方式都不符合我的要求,当时我的文件系统已经损坏,我发现testdisk 同一个公司开发的另一款牛逼的工具可以满足我的要求,绕过文件系统。 文档上传至我的百度云。 testdisk
阅读全文
posted @ 2021-11-01 16:56 JvvYou
阅读(138)
评论(0)
推荐(0)
2021年9月22日
windows 日志收集
摘要: 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
阅读(277)
评论(0)
推荐(0)
2021年9月16日
python守护进程
摘要: 参考: https://blog.csdn.net/yangbodong22011/article/details/78650896 https://www.cnblogs.com/rexcheny/p/9382342.html
阅读全文
posted @ 2021-09-16 10:30 JvvYou
阅读(38)
评论(0)
推荐(0)
2021年8月24日
es 单节点问题
摘要: 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
阅读(432)
评论(0)
推荐(0)
2021年8月11日
jenkins 获取当前上传的分支的commit + url跳转
摘要: 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
阅读(577)
评论(0)
推荐(0)
2021年7月21日
kibana上传日志时间与日志里面的时间不同
摘要: 中间加了一层转换,日志从filebeat采集进入logstash,然后将日志中的时间字段覆盖到es的@timestamp字段,kibana会将这个字段当做是日志的上传时间 input { beats { port => 10515 } } filter{ if "xxx" in [tags]{ gr
阅读全文
posted @ 2021-07-21 18:54 JvvYou
阅读(444)
评论(0)
推荐(0)
2021年3月31日
jenkins junit
摘要: 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
阅读(154)
评论(0)
推荐(0)
2021年3月28日
filebeat更改mapping 字段类型
摘要: 采集nginx日志的时候发现从filebeat采集的json日志到elasticsearch里面都是keyword类型,导致我模糊查询部分字段的时候无法模糊匹配,所以需要将某些字段改成text类型。 filebeat.inputs: - type: log enabled: true json.ke
阅读全文
posted @ 2021-03-28 18:38 JvvYou
阅读(1188)
评论(0)
推荐(1)
上一页
1
···
3
4
5
6
7
8
9
10
11
···
14
下一页
公告