Skip to content

a dbus Input plugin that can integrate with external system

License

Notifications You must be signed in to change notification settings

dbus-plugin/stream-input

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

stream-input

a dbus Input plugin that can integrate with external system.

Usage

stream-input is an implementation of dbus Input interface. You only need to import the plugin.

import _ "github.com/dbus-plugin/stream-input"

Configurattion

  • cmd

Example:

cmd: ["tail", "-F', "/var/log/messages"]

A complete example

{
    plugins: [
        {
            name: "StreamInput"
            cmd: ["cat", "/var/log/mail.log"]
        }

        {
            name:   "MockOutput"
            blackhole: false
            match:  ["StreamInput", ]
        }
    ]
}

About

a dbus Input plugin that can integrate with external system

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages