Closed asachs01 closed 3 years ago
Also, FWIW, allowing users to also configure:
elasticsearch_discovery_default_user
elasticsearch_discovery_default_password
Would also be helpful.
We can change the default value. Would that be here and here?
For the other configs, are these Graylog settings or Elasticsearch settings? We are just including the official Elasticsearch role in our code. So any settings available through that role should work:
For additional graylog configs, we provide this setting. It allows users to pass any additonal Graylog configs needed.
graylog_additional_config:
test: value
Ah. Yeah, so those are Graylog config options if the additional config param can hold those, maybe we just need a readme update?
@asachs01 I set elasticsearch_discovery_enabled
to default to False
and added documenation to the readme on the graylog_additional_config
construct.
@juju2112 there's probably a better title for this, but it arises out of some issues in z-#4632. The crux of it is that the role is being used with commercially packaged Elasticsearch and does some things that lead to confusion when using the role with that version of ES--those are:
Would it be worth changing 1. so that the default behavior is to not enable autodiscovery and can we make it possible so that folks using the role can enable
elasticsearch_discovery_default_scheme
?