uken / fluent-plugin-elasticsearch

Apache License 2.0
890 stars 310 forks source link

To set dynamic values for username/password in elasticsearch plugin, Is there a way to fetch it from text/yaml file and assign it ?? #989

Open loGit123 opened 1 year ago

loGit123 commented 1 year ago

To set dynamic values for username/password in elasticsearch plugin, Is there a way to fetch it from text/yaml file and assign it ??

I want to fetch the username/password in elasticsearch plugin by reading a txt file, but there is no way as of now to go with this approach

if by reading from a .txt/.env file, we can set the credentials for elasticsearch

Describe alternatives you've considered

I tried using env variables to set the values

cosmo0920 commented 1 year ago

Using environment variables is better approach for now.