Link Logstash Input plugins

Is there any way to link input plugins ?

For example

The result of exec -- is an input to --> file

input {

      exec {
        command => "cd /logs; tshark -r working.pcap -T ek > working.json"
        interval => 30
      }

      file {
        path => "/logs/working.json"
        start_position => "beginning"
      }
    }

There's no general support for linking input plugins (it's not clear to me what such a feature would even look like), but the special case in your example should work fine (assuming that the command is passed to a shell; I don't recall if that's the case).

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.