gogstash:类似logstash,用golang编写

时间:2024-03-18 02:27:26
【文件属性】:

文件名称:gogstash:类似logstash,用golang编写

文件大小:195KB

文件格式:ZIP

更新时间:2024-03-18 02:27:26

Go

戈斯塔什 Logstash之类,用golang编写 从github下载gogstash 使用 image curl 'https://github.com/tsaikd/gogstash/releases/download/0.1.8/gogstash-Linux-x86_64' -SLo gogstash && chmod +x gogstash 为ubuntu-sys.json配置(示例) { "input": [ { "type": "exec", "command": "sh", "interval": 60, "message_prefix": "%{@timestamp} [df] ", "args": ["-c", "df -B 1 / | sed 1d"] }, { "type": "exec", "comman


网友评论