Skip to content

Commit

Permalink
Disable elasticsearch discovery by default.
Browse files Browse the repository at this point in the history
Fixes #165.
  • Loading branch information
Donald Morton committed Feb 15, 2021
1 parent 64d5915 commit 01a2692
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -85,6 +85,15 @@ graylog_http_external_uri: "http://{{ ansible_default_ipv4.address }}:9000/"

Take a look into `defaults/main.yml` to get an overview of all configuration parameters.

If you need to configure a graylog setting that we haven't set up, you can use `graylog_additional_config` to declare it:

```yaml
graylog_additional_config:
elasticsearch_discovery_default_user: my_username
elasticsearch_discovery_default_password: "{{ my_password }}"
```


More detailed example
---------------------

Expand Down
2 changes: 1 addition & 1 deletion defaults/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ graylog_elasticsearch_disable_version_check: True
graylog_elasticsearch_http_enabled: False
graylog_disable_index_optimization: True
graylog_index_optimization_max_num_segments: 1
graylog_elasticsearch_discovery_enabled: True
graylog_elasticsearch_discovery_enabled: False
graylog_elasticsearch_discovery_frequency: "30s"
graylog_elasticsearch_discovery_filter: ""
graylog_elasticsearch_max_total_connections: 20
Expand Down

0 comments on commit 01a2692

Please sign in to comment.