cat logs.conf
server { listen 80; server_name logs.alexlinux.com; return 301 https://logs.alexlinux.com$request_uri; } server { listen 443 ssl http2; server_name logs.alexlinux.com; ssl on; ssl_certificate /etc/pki/web/alexlinux.com.crt; ssl_certificate_key /etc/pki/web/alexlinux.com.key; location / { proxy_set_header Host $http_host; proxy_set_header X-Forwarded-Host $host; proxy_set_header X-Forwarded-Server $host; proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for; proxy_set_header X-Graylog-Server-URL https://$server_name/; proxy_pass http://127.0.0.1:9000; } }
cat /etc/graylog/server/server.conf | grep -v “^#\|^$”
is_master = true node_id_file = /etc/graylog/server/node-id password_secret = XXXXXXXXXXXXXXXXXXX root_password_sha2 = XXXXXXXXXXXXXXXXXXXXXXXXXXXXXX bin_dir = /usr/share/graylog-server/bin data_dir = /var/lib/graylog-server plugin_dir = /usr/share/graylog-server/plugin rotation_strategy = count elasticsearch_max_docs_per_index = 20000000 elasticsearch_max_number_of_indices = 20 retention_strategy = delete elasticsearch_shards = 4 elasticsearch_replicas = 0 elasticsearch_index_prefix = graylog allow_leading_wildcard_searches = false allow_highlighting = false elasticsearch_analyzer = standard output_batch_size = 500 output_flush_interval = 1 output_fault_count_threshold = 5 output_fault_penalty_seconds = 30 processbuffer_processors = 5 outputbuffer_processors = 3 processor_wait_strategy = blocking ring_size = 65536 inputbuffer_ring_size = 65536 inputbuffer_processors = 2 inputbuffer_wait_strategy = blocking message_journal_enabled = true message_journal_dir = /var/lib/graylog-server/journal lb_recognition_period_seconds = 3 mongodb_uri = mongodb://localhost/graylog mongodb_max_connections = 1000 mongodb_threads_allowed_to_block_multiplier = 5 proxied_requests_thread_pool_size = 32