Advertisement
Guest User

Untitled

a guest
Mar 11th, 2020
155
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 4.57 KB | None | 0 0
  1. /etc/sysconfig/graylog-server
  2.  
  3.  
  4. JAVA=${JAVA_HOME}/bin/java
  5. GRAYLOG_SERVER_JAVA_OPTS="-Xms31g -Xmx31g -XX:NewRatio=1 -server -XX:+ResizeTLAB -XX:+UseConcMarkSweepGC -XX:+CMSConcurrentMTEnabled -XX:+CMSClassUnloadingEnabled -XX:+UseParNewGC -XX:-OmitStackTraceInFastThrow -XX:MaxDirectMemorySize=8g -Djdk.nio.maxCachedBufferSize=262144 -Djmx.agent.port=9000 -Dcom.sun.management.jmxremote.access.file=/one/conf/jmxremote.access -Dcom.sun.management.jmxremote.password.file=/one/conf/jmxremote.password -javaagent:/one/lib/jmxagent.jar"
  6. GRAYLOG_SERVER_ARGS="-d"
  7. GRAYLOG_COMMAND_WRAPPER="authbind"
  8. GRAYLOG_HTTP_PUBLISH_URI="https://${HOSTNAME}:443/"
  9. GRAYLOG_HTTP_TLS_KEY_PASSWORD="${sslpassword}"
  10. GRAYLOG_PASSWORD_SECRET="${graylogpassword}"
  11.  
  12. ---------------------
  13. /etc/graylog/server/server.conf
  14.  
  15.  
  16.  
  17. is_master=false
  18.  
  19. node_id_file = /etc/graylog/server/node-id
  20. root_username = admin
  21. root_password_sha2 = SHA
  22.  
  23. bin_dir = /usr/share/graylog-server/bin
  24. data_dir = /var/lib/graylog-server
  25. plugin_dir = /usr/share/graylog-server/plugin
  26.  
  27. root_timezone = Etc/GMT-3
  28.  
  29. http_bind_address = 0.0.0.0:443
  30. http_enable_tls = true
  31. http_tls_cert_file = /path/to/crt
  32. http_tls_key_file = /path/to/pem
  33. http_connect_timeout = 500s
  34. http_read_timeout = 500s
  35. http_write_timeout = 500s
  36.  
  37. rotation_strategy = time
  38. retention_strategy = delete
  39.  
  40. allow_leading_wildcard_searches = true
  41. allow_highlighting = true
  42.  
  43. index_ranges_cleanup_interval = 8h
  44. index_field_type_periodical_interval = 8h
  45.  
  46.  
  47. output_batch_size = 5000
  48.  
  49. output_flush_interval = 10
  50. output_fault_count_threshold = 3
  51. output_fault_penalty_seconds = 10
  52. outputbuffer_processor_keep_alive_time = 5000
  53. outputbuffer_processor_threads_core_pool_size = 6
  54. outputbuffer_processor_threads_max_pool_size = 60
  55. processbuffer_processors = 36
  56. outputbuffer_processors = 72
  57.  
  58. processor_wait_strategy = blocking
  59. ring_size = 65536
  60. inputbuffer_ring_size = 65536
  61. inputbuffer_processors = 30
  62. inputbuffer_wait_strategy = blocking
  63. message_journal_enabled = true
  64. message_journal_dir = /var/lib/graylog-server/journal
  65. message_journal_max_size = 12gb
  66. message_journal_flush_age = 10m
  67. message_journal_max_age = 720h
  68.  
  69. async_eventbus_processors = 12
  70.  
  71. lb_recognition_period_seconds = 3
  72. lb_throttle_threshold_percentage = 70
  73.  
  74. stream_processing_timeout = 10000
  75. stream_processing_max_faults = 3
  76.  
  77. output_module_timeout = 10000
  78.  
  79. stale_master_timeout = 15000
  80.  
  81. shutdown_timeout = 30000
  82.  
  83. index_optimization_max_num_segments = 1
  84.  
  85. gc_warning_threshold = 1s
  86.  
  87. ldap_connection_timeout = 8000
  88. proxied_requests_thread_pool_size = 32
  89.  
  90. elasticsearch_hosts = http://10.19.172.130:9200,http://10.23.131.255:9200,http://10.19.172.131:9200,http://10.19.172.133:9200,http://10.19.172.128:9200,http://10.19.172.129:9200,http://10.19.172.132:9200,http://10.19.172.134:9200,http://10.23.131.254:9200,http://10.19.172.135:9200,http://10.18.172.135:9200,http://10.18.172.134:9200,http://10.18.172.128:9200,http://10.18.172.130:9200,http://10.22.131.255:9200,http://10.22.131.254:9200,http://10.18.172.129:9200,http://10.18.172.133:9200,http://10.18.172.131:9200,http://10.18.172.132:9200,http://10.17.172.131:9200,http://10.21.131.254:9200,http://10.17.172.134:9200,http://10.17.172.128:9200,http://10.21.131.255:9200,http://10.17.172.130:9200,http://10.17.172.133:9200,http://10.17.172.135:9200,http://10.17.172.129:9200,http://10.17.172.132:9200,http://10.20.131.137:9200,http://10.20.131.134:9200,http://10.20.131.135:9200,http://10.20.131.139:9200,http://10.20.131.140:9200,http://10.20.131.143:9200,http://10.20.131.138:9200,http://10.20.131.136:9200,http://10.20.131.142:9200,http://10.20.131.141:9200
  91. elasticsearch_max_time_per_index = 2d
  92. elasticsearch_max_number_of_indices = 15
  93. elasticsearch_shards = 360
  94. elasticsearch_replicas = 1
  95. elasticsearch_index_prefix = graylog
  96. elasticsearch_discovery_enabled = true
  97. elasticsearch_discovery_filter = type:coordinator
  98. elasticsearch_disable_version_check = false
  99. elasticsearch_connect_timeout = 300s
  100. elasticsearch_max_total_connections = 100
  101. elasticsearch_max_total_connections_per_route = 5
  102. elasticsearch_max_retries = 10
  103. elasticsearch_index_optimization_jobs = 360
  104. elasticsearch_discovery_frequency = 5s
  105. elasticsearch_socket_timeout = 300s
  106. elasticsearch_analyzer = standard
  107. elasticsearch_request_timeout = 10m
  108. elasticsearch_index_optimization_timeout = 4h
  109.  
  110.  
  111. mongodb_uri = mongodb://graylog:pass@10.18.161.192:27017,10.18.161.193:27017,10.19.161.192:27017,10.16.161.192:27017,10.17.161.192:27017/graylog?replicaSet=graylog&journal=true&w=majority&wtimeoutMS=10000&retryWrites=true
  112. mongodb_max_connections = 100
  113. mongodb_threads_allowed_to_block_multiplier = 60
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement