Files
graylog2-server/graylog2-web-interface/travis/server.conf
Othello Maurer 9910038897 Deprecate usage of the term "master" (#11766)
* Deprecate MASTER capability and remove usages

* Deprecate Periodical.masterOnly() and replace with Periodical.leaderOnly

* Deprecate `is_master` and replace with `is_leader`

* Replace is_master with is_leader in config files

* Replace deprecated usage of JadConfig `validator` with `validators`

* Remove @Deprecated annotation from private member

* Make field final

* Deprecate `stale_master_timeout` and add `stale_leader_timeout`

* Deprecate @RestrictToMaster and add @RestrictToLeader

* deprecate Node#isMaster and add Node#isLeader

* Deprecate `is_master` in `NodeSummary` and add `is_leader`

* More replacements of "master" with "leader"

* Replace "is_master" in test fixture

* Convert logging statements

* Deprecate NO_MASTER and MULTI_MASTER notifications

* Replace "master" with "leader" for notifications in UI

* Deprecate usage in ProxiedResource

* Replace "master" with "leader" in most parts of UI

* Add upgrade notes

* Replace master with leader and main in comments

* Make change to exposed configuration non-breaking

* Fix missed "master" in JavaDoc

* Add missing JsonProperty annotation and add test for serializing node

* Add missing license headers

Co-authored-by: Bernd Ahlers <bernd@graylog.com>
2021-12-16 14:01:00 +01:00

36 lines
1.1 KiB
Plaintext

is_leader = true
node_id_file = graylog2-server-node-id
password_secret = IHRzmjWfc0mh7D1Pepv7Od6NRL7jqNb0k9g8fvjwyX4Vq1KIHvQSFOHLf4BO1k3hdKdFWmceKwy46BGqIk2NurWAUYSedspb
root_username = admin
root_password_sha2 = 8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
plugin_dir = plugin
rest_listen_uri = http://127.0.0.1:12900/
elasticsearch_max_docs_per_index = 20000000
elasticsearch_index_prefix = graylog2
elasticsearch_max_number_of_indices = 20
elasticsearch_shards = 1
elasticsearch_replicas = 0
elasticsearch_cluster_name = elasticsearch
elasticsearch_discovery_zen_ping_multicast_enabled = false
elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300
elasticsearch_analyzer = standard
output_batch_size = 5000
processbuffer_processors = 5
outputbuffer_processors = 5
processor_wait_strategy = sleeping
ring_size = 1024
# MongoDB Configuration
mongodb_useauth = false
mongodb_user = grayloguser
mongodb_password = 123
mongodb_host = 127.0.0.1
#mongodb_replica_set = localhost:27017,localhost:27018,localhost:27019
mongodb_database = graylog2
mongodb_port = 27017
mongodb_max_connections = 100
mongodb_threads_allowed_to_block_multiplier = 5