I have two Logstash config files that run independently fine but not when run with -f as their directory.
They're almost identical in that they use jdbc input plugin just with different connection strings and system names in tags.
input{
jdbc{
jdbc_driver_library => "/licensed/elk.oracle-jdbc/ojdbc6_g.jar"
jdbc_driver_class => "Java::oracle.jdbc.Oracledriver"
...
tags => ["system1"]
}
}
output{
if "system1" in [tags]{
elasticsearch{
...
}
}
}
The error I'm getting on Logstash startup is:
"Error: Expected one of #, {, } at line 35, column 27 (byte 851) after ... input{\n\tjdbc{\n\t\tjdbc_driver_library => ""}
Like I said, they run independently fine but not together. Is there any issue with running multiple jdbc input plugins?