文件名称:Logstash之类,用golang编写-Golang开发
文件大小:199KB
文件格式:ZIP
更新时间:2024-06-15 09:33:58
Golang Miscellaneous
gogstash类似Logstash,用golang编写从github下载gogstash检查最新版本使用docker image tsaikd / gogstash curl'https://github.com/tsaikd/gogstash/releases/download/0.1.8/gogstash-Linux gogstash Logstash这样,编写在golang中从github下载gogstash检查最新版本使用docker image tsaikd / gogstash curl'https://github.com/tsaikd/gogstash/releases/download/0.1.8/gogstash-Linux-x86_64'-SLo gogstash && chmod + x gogstash为ubuntu-sys.json配置(示例){“输入”:[{“类型”:“ exec”,“命令”:“ sh”,“间隔”:60,“ message_prefix”:“%{@ timestamp} [df]“,” args“:[” -c“,” df -B 1 / |