alibaba / ilogtail

Fast and Lightweight Observability Data Collector
https://ilogtail.gitbook.io/ilogtail-docs
Apache License 2.0
1.7k stars 383 forks source link

[FEATURE]: Support to collect cmd output #780

Open linrunqi08 opened 1 year ago

linrunqi08 commented 1 year ago

Ref: https://docs.fluentbit.io/manual/pipeline/inputs/exec https://github.com/influxdata/telegraf/tree/master/plugins/inputs/exec https://github.com/influxdata/telegraf/tree/master/plugins/inputs/execd

linrunqi08 commented 1 year ago

Golang lib:https://pkg.go.dev/os/exec

linrunqi08 commented 1 year ago

OutputPipeline:https://pkg.go.dev/os/exec#example-Cmd.StdoutPipe

messixukejia commented 1 year ago

设计统一放到disscussion的idea里吧

yyuuttaaoo commented 1 year ago

Continued in https://github.com/alibaba/ilogtail/discussions/782