diff --git a/lib/logstash/filters/jdbc_static.rb b/lib/logstash/filters/jdbc_static.rb index 5b0b858..ba6bb93 100644 --- a/lib/logstash/filters/jdbc_static.rb +++ b/lib/logstash/filters/jdbc_static.rb @@ -189,7 +189,7 @@ def prepare_data_dir # later, when local persistent databases are allowed set this property to LS_HOME/data/jdbc-static/ # must take multi-pipelines into account and more than one config using the same jdbc-static settings - path_data = Pathname.new(LogStash::SETTINGS.get_value("path.data")).join("plugins", "filter", "jdbc_static") + path_data = Pathname.new(LogStash::SETTINGS.get_value("path.data")).join("plugins", "shared", "derby_home") path_data.mkpath java.lang.System.setProperty("derby.system.home", path_data.to_path) logger.info("derby.system.home is: #{java.lang.System.getProperty("derby.system.home")}")