a dbus Input plugin that can integrate with external system.
stream-input is an implementation of dbus Input interface. You only need to import the plugin.
import _ "github.com/dbus-plugin/stream-input"
- cmd
Example:
cmd: ["tail", "-F', "/var/log/messages"]
{
plugins: [
{
name: "StreamInput"
cmd: ["cat", "/var/log/mail.log"]
}
{
name: "MockOutput"
blackhole: false
match: ["StreamInput", ]
}
]
}