Jdbc_password_filepath

How to use jdbc_password_filepath?

It's not clear how it works
I don't want my password and username exposed in logstash config file and want a single file where these are stored.

So what should jdbc_user and jdbc_password contain in logstash.conf file and what values should the text file contains which should be at jdbc_password_filepath?

The password file should simply contain the password. Store the username in jdbc_user as usual.

1 Like

Thanks Magnus. I was able to make use of logstash Keystore and it seems to be much better option

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