logstash-plugins / logstash-filter-jdbc_streaming

A Logstash filter that can enrich events with data from a database
Apache License 2.0
12 stars 23 forks source link

Add jdbc_password_filepath #36

Closed TheFrozenFire closed 5 years ago

TheFrozenFire commented 5 years ago

In the jdbc input plugin, there is a parameter called jdbc_password_filepath which is very convenient when deploying pipelines in Kubernetes, as the credentials for the JDBC connection can be mounted from cluster secrets.

It would be very helpful to have this parameter on the jdbc_streaming filter.

TheFrozenFire commented 5 years ago

Scratch that. Since logstash 5.5.0 there has been environment variable interpolation support, which negates the value of having a specific config option for this sort of thing.

One can specify extraEnv in the logstash helm chart values to create environment variables sourced from secrets.