Jdbc_password configuration for logstash


(Learn2287) #1

Is there a way to mask/hide the jdbc_password parameter.

Config File:
input {
jdbc {
jdbc_driver_library => "C:\Program Files\DbVisualizer\jdbc\oracle\ojdbc6.jar"
jdbc_driver_class => "Java::oracle.jdbc.driver.OracleDriver"
jdbc_connection_string => "jdbc:oracle:thin:@TEST:1244:TESTDB"
jdbc_user => "user_id"
#jdbc_password => ""
jdbc_validate_connection => true
jdbc_fetch_size => 1000
schedule => "* * * * *"
statement => "Select EMP_ID from Employee_data"
}
}
output {
elasticsearch {
protocol => http
index => "testdb"
document_type => "TESTDB"
host => "127.0.0.1:9200"
bind_host => "127.0.0.1"
}
}


(Mark Walkom) #2

Not currently, no.


(system) #3