Skip to content

logstash: make redis host and TLS configurable for simple pipelines - #511

Open
Saeid-Abadi wants to merge 4 commits into
mainfrom
feature/redis-host-tls
Open

logstash: make redis host and TLS configurable for simple pipelines#511
Saeid-Abadi wants to merge 4 commits into
mainfrom
feature/redis-host-tls

Conversation

@Saeid-Abadi

Copy link
Copy Markdown
Contributor

The simple input/output (and default redis) templates hardcoded host => localhost with no TLS option, so pipelines could only reach a co-located Redis in plaintext. Add logstash_redis_input_host, logstash_redis_output_host and logstash_redis_tls (defaults keep the previous behaviour: localhost, no TLS).

The simple input/output (and default redis) templates hardcoded
host => localhost with no TLS option, so pipelines could only reach a
co-located Redis in plaintext. Add logstash_redis_input_host,
logstash_redis_output_host and logstash_redis_tls (defaults keep the
previous behaviour: localhost, no TLS).
DocSmith validation requires every defaults variable to be present in
meta/argument_specs.yml. Add specs for logstash_redis_input_host,
logstash_redis_output_host and logstash_redis_tls.
Match the wording already present in the generated README so the DocSmith
README drift check passes. Descriptions now note that input/output hosts
also cover the built-in forwarder/input pipelines and that logstash_redis_tls
toggles ssl/ssl_enabled.
Comment thread roles/logstash/templates/redis-output.conf.j2
Comment thread roles/logstash/templates/simple-output.conf.j2
Address review feedback: when logstash_redis_tls is enabled, allow
supplying certificate, key, key passphrase, certificate authorities,
supported protocols and verification mode on the redis outputs (built-in
and simple pipelines). All optional, rendered only when defined; cipher
suites intentionally omitted.

The redis input plugin only exposes a boolean ssl option, so these
granular options apply to outputs only.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants