graylog.conf.example (graylog-3.3.8.tgz) | : | graylog.conf.example (graylog-4.0.0.tgz) | ||
---|---|---|---|---|
skipping to change at line 140 | skipping to change at line 140 | |||
# | # | |||
# When using Graylog Collector, this URI will be used to receive heartbeat messa ges and must be accessible for all collectors. | # When using Graylog Collector, this URI will be used to receive heartbeat messa ges and must be accessible for all collectors. | |||
# | # | |||
# This setting can be overriden on a per-request basis with the "X-Graylog-Serve r-URL" HTTP request header. | # This setting can be overriden on a per-request basis with the "X-Graylog-Serve r-URL" HTTP request header. | |||
# | # | |||
# Default: $http_publish_uri | # Default: $http_publish_uri | |||
#http_external_uri = | #http_external_uri = | |||
#### Enable CORS headers for HTTP interface | #### Enable CORS headers for HTTP interface | |||
# | # | |||
# This is necessary for JS-clients accessing the server directly. | # This allows browsers to make Cross-Origin requests from any origin. | |||
# If these are disabled, modern browsers will not be able to retrieve resources | # This is disabled for security reasons and typically only needed if running gra | |||
from the server. | ylog | |||
# This is enabled by default. Uncomment the next line to disable it. | # with a separate server for frontend development. | |||
# | ||||
# Default: false | ||||
#http_enable_cors = false | #http_enable_cors = false | |||
#### Enable GZIP support for HTTP interface | #### Enable GZIP support for HTTP interface | |||
# | # | |||
# This compresses API responses and therefore helps to reduce | # This compresses API responses and therefore helps to reduce | |||
# overall round trip times. This is enabled by default. Uncomment the next line to disable it. | # overall round trip times. This is enabled by default. Uncomment the next line to disable it. | |||
#http_enable_gzip = false | #http_enable_gzip = false | |||
# The maximum size of the HTTP request headers in bytes. | # The maximum size of the HTTP request headers in bytes. | |||
#http_max_header_size = 8192 | #http_max_header_size = 8192 | |||
skipping to change at line 195 | skipping to change at line 197 | |||
# | # | |||
# Default: http://127.0.0.1:9200 | # Default: http://127.0.0.1:9200 | |||
#elasticsearch_hosts = http://node1:9200,http://user:password@node2:19200 | #elasticsearch_hosts = http://node1:9200,http://user:password@node2:19200 | |||
# Maximum amount of time to wait for successfull connection to Elasticsearch HTT P port. | # Maximum amount of time to wait for successfull connection to Elasticsearch HTT P port. | |||
# | # | |||
# Default: 10 Seconds | # Default: 10 Seconds | |||
#elasticsearch_connect_timeout = 10s | #elasticsearch_connect_timeout = 10s | |||
# Maximum amount of time to wait for reading back a response from an Elasticsear ch server. | # Maximum amount of time to wait for reading back a response from an Elasticsear ch server. | |||
# (e. g. during search, index creation, or index time-range calculations) | ||||
# | # | |||
# Default: 60 seconds | # Default: 60 seconds | |||
#elasticsearch_socket_timeout = 60s | #elasticsearch_socket_timeout = 60s | |||
# Maximum idle time for an Elasticsearch connection. If this is exceeded, this c onnection will | # Maximum idle time for an Elasticsearch connection. If this is exceeded, this c onnection will | |||
# be tore down. | # be tore down. | |||
# | # | |||
# Default: inf | # Default: inf | |||
#elasticsearch_idle_timeout = -1s | #elasticsearch_idle_timeout = -1s | |||
skipping to change at line 386 | skipping to change at line 389 | |||
# Elasticsearch documentation: https://www.elastic.co/guide/en/elasticsearch/ref erence/2.3/analysis.html | # Elasticsearch documentation: https://www.elastic.co/guide/en/elasticsearch/ref erence/2.3/analysis.html | |||
# Note that this setting only takes effect on newly created indices. | # Note that this setting only takes effect on newly created indices. | |||
# | # | |||
# ATTENTION: These settings have been moved to the database in Graylog 2.2.0. Wh en you upgrade, make sure to set these | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. Wh en you upgrade, make sure to set these | |||
# to your previous settings so they will be migrated to the database! | # to your previous settings so they will be migrated to the database! | |||
# This configuration setting is only used on the first start of Grayl og. After that, | # This configuration setting is only used on the first start of Grayl og. After that, | |||
# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. | # index related settings can be changed in the Graylog web interface on the 'System / Indices' page. | |||
# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_m odel.html#index-set-configuration. | # Also see http://docs.graylog.org/en/2.3/pages/configuration/index_m odel.html#index-set-configuration. | |||
elasticsearch_analyzer = standard | elasticsearch_analyzer = standard | |||
# Global request timeout for Elasticsearch requests (e. g. during search, index | ||||
creation, or index time-range | ||||
# calculations) based on a best-effort to restrict the runtime of Elasticsearch | ||||
operations. | ||||
# Default: 1m | ||||
#elasticsearch_request_timeout = 1m | ||||
# Global timeout for index optimization (force merge) requests. | # Global timeout for index optimization (force merge) requests. | |||
# Default: 1h | # Default: 1h | |||
#elasticsearch_index_optimization_timeout = 1h | #elasticsearch_index_optimization_timeout = 1h | |||
# Maximum number of concurrently running index optimization (force merge) jobs. | # Maximum number of concurrently running index optimization (force merge) jobs. | |||
# If you are using lots of different index sets, you might want to increase that number. | # If you are using lots of different index sets, you might want to increase that number. | |||
# Default: 20 | # Default: 20 | |||
#elasticsearch_index_optimization_jobs = 20 | #elasticsearch_index_optimization_jobs = 20 | |||
# Time interval for index range information cleanups. This setting defines how o ften stale index range information | # Time interval for index range information cleanups. This setting defines how o ften stale index range information | |||
End of changes. 3 change blocks. | ||||
11 lines changed or deleted | 7 lines changed or added |