Comments (5)
I see that change is not possible because connection string is determined in the register phase.
What about another plugin parameter like "config_path" that points to a database.yml?
from logstash-output-jdbc.
I'm happy to accept the pull request, if there's a reason I'm not seeing (forgive me if I am, but it's the end of the day here and I'm pretty tired ๐ )... but I'm not sure of the benefit?
My thinking; the user that logstash runs as will need to read the yaml file - so it's not like you're trying to prevent the logstash user from being able to read the credentials? As a matter of best practice I'd make sure that the logstash configuration is reasonably secured anyway i.e. locked down to the account that logstash runs as.
If it's a case of ease of deployment, you should be able to template the logstash configuration using your deployment tool(s) - which negates the need for another configuration file.
I'm just trying to understand what I'm missing ๐
from logstash-output-jdbc.
Yes, I see. Looks like using templates is the way to go with logstash, since no other plugin has this feature.
Ok, sorry for the inconvenience and thanks for your time :)
from logstash-output-jdbc.
No problem @enriquerodbe ๐
If there is a reasonable reason, other than just another config file I'm happy to accept the pull request.
I know other plugins have considered supporting environment variables and string interpolation, but I don't know of any that currently do it. I'd be kinda fine with that personally, rather than another config file, but thats just me ๐
from logstash-output-jdbc.
@enriquerodbe - just as a FYI incase you missed it, Logstash now supports ENV vars - https://www.elastic.co/blog/logstash-2-3-0-and-2-2-3-released
from logstash-output-jdbc.
Related Issues (20)
- IllegalAccessError CompoundCacheKey HOT 3
- Insert emoji into mysql(utf8mb4) varchar field fail(Incorrect string value SQLException) HOT 4
- time zone information of date field lost, how to transfer time zone HOT 2
- How to fix jdbc output :connection has passed maxLifetime HOT 8
- Postgresql Class path contains multiple SLF4J bindings. HOT 1
- :error=>"missing class name (`com.zaxxer.hikari.HikariDataSource')" HOT 3
- Getting error while inserting records into oracle using Logstash HOT 5
- ERROR: Installation Aborted, message: incompatible encodings: Windows-1254 and UTF-8 HOT 2
- Error -1 (00000) : while preparing SQL HOT 1
- java.lang.VerifyError: Inconsistent stackmap frames at branch target 125 HOT 2
- Issue using JSON created field in statement. HOT 5
- Multi-table insert is not supported, please help me๏ผAnd give examples๏ผ3Q HOT 10
- Issue when using the input and output jdbc plugin in the same conf file HOT 2
- how to insert binary object in statement? HOT 6
- call store procedure from oracle with output sys_refcursor HOT 4
- Connection not close when not have new data in a long time HOT 3
- Dynamically creation of insert statements HOT 6
- How to increase the output throughput for inserting the records HOT 7
- SSL off in postgresql HOT 1
- mysql INTEGER to long?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from logstash-output-jdbc.