通常情况下,我们都会在Logstash为pipeline指定type,用来区分不同管道的同步处理。举个配置的例子:
input {
stdin {
}
jdbc {
type => "petition"
jdbc_driver_library => "/usr/share/logstash/ojdbc6.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_connection_string =>