Advertisement
Guest User

server.conf

a guest
Jun 16th, 2016
109
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
YAML 26.78 KB | None | 0 0
  1. # If you are running more than one instances of Graylog server you have to select one of these
  2. # instances as master. The master will perform some periodical tasks that non-masters won't perform.
  3. is_master = true
  4.  
  5. # The auto-generated node ID will be stored in this file and read after restarts. It is a good idea
  6. # to use an absolute file path here if you are starting Graylog server from init scripts or similar.
  7. node_id_file = /etc/graylog/server/node-id
  8.  
  9. # You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters.
  10. # Generate one by using for example: pwgen -N 1 -s 96
  11. password_secret =3DltCgxCFcv8WSSwM2eEzXfqL9CsNhBWCpGsfjVak2BSdxweXtYMBc353WgWAp4ONzxPFrNV88aqKC4OEHt6AvaVHkdMV4Vk
  12.  
  13. # The default root user is named 'admin'
  14. #root_username = admin
  15.  
  16. # You MUST specify a hash password for the root user (which you only need to initially set up the
  17. # system and in case you lose connectivity to your authentication backend)
  18. # This password cannot be changed using the API or via the web interface. If you need to change it,
  19. # modify it in this file.
  20. # Create one by using for example: echo -n yourpassword | shasum -a 256
  21. # and put the resulting hash value into the following line
  22. root_password_sha2 =8c6976e5b5410415bde908bd4dee15dfb167a9c873fc4bb8a81f6f2ab448a918
  23.  
  24. # The email address of the root user.
  25. # Default is empty
  26. #root_email = ""
  27.  
  28. # The time zone setting of the root user. See http://www.joda.org/joda-time/timezones.html for a list of valid time zones.
  29. # Default is UTC
  30. #root_timezone = UTC
  31.  
  32. # Set plugin directory here (relative or absolute)
  33. plugin_dir = /usr/share/graylog-server/plugin
  34.  
  35. # REST API listen URI. Must be reachable by other Graylog server nodes if you run a cluster.
  36. # When using Graylog Collectors, this URI will be used to receive heartbeat messages and must be accessible for all collectors.
  37. rest_listen_uri = http://0.0.0.0:12900/
  38.  
  39. # REST API transport address. Defaults to the value of rest_listen_uri. Exception: If rest_listen_uri
  40. # is set to a wildcard IP address (0.0.0.0) the first non-loopback IPv4 system address is used.
  41. # If set, this will be promoted in the cluster discovery APIs, so other nodes may try to connect on
  42. # this address and it is used to generate URLs addressing entities in the REST API. (see rest_listen_uri)
  43. # You will need to define this, if your Graylog server is running behind a HTTP proxy that is rewriting
  44. # the scheme, host name or URI.
  45. # This must not contain a wildcard address (0.0.0.0).
  46. rest_transport_uri = http://192.168.56.104:12900/
  47.  
  48. # Enable CORS headers for REST API. This is necessary for JS-clients accessing the server directly.
  49. # If these are disabled, modern browsers will not be able to retrieve resources from the server.
  50. # This is enabled by default. Uncomment the next line to disable it.
  51. #rest_enable_cors = false
  52.  
  53. # Enable GZIP support for REST API. This compresses API responses and therefore helps to reduce
  54. # overall round trip times. This is disabled by default. Uncomment the next line to enable it.
  55. #rest_enable_gzip = true
  56.  
  57. # Enable HTTPS support for the REST API. This secures the communication with the REST API with
  58. # TLS to prevent request forgery and eavesdropping. This is disabled by default. Uncomment the
  59. # next line to enable it.
  60. #rest_enable_tls = true
  61.  
  62. # The X.509 certificate chain file in PEM format to use for securing the REST API.
  63. #rest_tls_cert_file = /path/to/graylog.crt
  64.  
  65. # The PKCS#8 private key file in PEM format to use for securing the REST API.
  66. #rest_tls_key_file = /path/to/graylog.key
  67.  
  68. # The password to unlock the private key used for securing the REST API.
  69. #rest_tls_key_password = secret
  70.  
  71. # The maximum size of the HTTP request headers in bytes.
  72. #rest_max_header_size = 8192
  73.  
  74. # The maximal length of the initial HTTP/1.1 line in bytes.
  75. #rest_max_initial_line_length = 4096
  76.  
  77. # The size of the thread pool used exclusively for serving the REST API.
  78. #rest_thread_pool_size = 16
  79.  
  80. # Enable the embedded Graylog web interface.
  81. # Default: true
  82. #web_enable = false
  83.  
  84. # Web interface listen URI. It must not contain a path other than "/".
  85. web_listen_uri = http://0.0.0.0:9000/
  86.  
  87. # Web interface endpoint URI. This setting can be overriden on a per-request basis with the X-Graylog-Server-URL header.
  88. # Default: $rest_transport_uri
  89. #web_endpoint_uri =
  90.  
  91. # Enable CORS headers for the web interface. This is necessary for JS-clients accessing the server directly.
  92. # If these are disabled, modern browsers will not be able to retrieve resources from the server.
  93. #web_enable_cors = false
  94.  
  95. # Enable/disable GZIP support for the web interface. This compresses HTTP responses and therefore helps to reduce
  96. # overall round trip times. This is enabled by default. Uncomment the next line to disable it.
  97. #web_enable_gzip = false
  98.  
  99. # Enable HTTPS support for the web interface. This secures the communication of the web browser with the web interface
  100. # using TLS to prevent request forgery and eavesdropping.
  101. # This is disabled by default. Uncomment the next line to enable it and see the other related configuration settings.
  102. #web_enable_tls = true
  103.  
  104. # The X.509 certificate chain file in PEM format to use for securing the web interface.
  105. #web_tls_cert_file = /path/to/graylog-web.crt
  106.  
  107. # The PKCS#8 private key file in PEM format to use for securing the web interface.
  108. #web_tls_key_file = /path/to/graylog-web.key
  109.  
  110. # The password to unlock the private key used for securing the web interface.
  111. #web_tls_key_password = secret
  112.  
  113. # The maximum size of the HTTP request headers in bytes.
  114. #web_max_header_size = 8192
  115.  
  116. # The maximal length of the initial HTTP/1.1 line in bytes.
  117. #web_max_initial_line_length = 4096
  118.  
  119. # The size of the thread pool used exclusively for serving the web interface.
  120. #web_thread_pool_size = 16
  121.  
  122. # Configuration file for the embedded Elasticsearch instance in Graylog.
  123. # Pay attention to the working directory of the server, maybe use an absolute path here.
  124. # Default: empty
  125. #elasticsearch_config_file = /etc/graylog/server/elasticsearch.yml
  126.  
  127. # Graylog will use multiple indices to store documents in. You can configured the strategy it uses to determine
  128. # when to rotate the currently active write index.
  129. # It supports multiple rotation strategies:
  130. #   - "count" of messages per index, use elasticsearch_max_docs_per_index below to configure
  131. #   - "size" per index, use elasticsearch_max_size_per_index below to configure
  132. # valid values are "count", "size" and "time", default is "count"
  133. #
  134. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  135. #            to your previous 1.x settings so they will be migrated to the database!
  136. rotation_strategy = count
  137.  
  138. # (Approximate) maximum number of documents in an Elasticsearch index before a new index
  139. # is being created, also see no_retention and elasticsearch_max_number_of_indices.
  140. # Configure this if you used 'rotation_strategy = count' above.
  141. #
  142. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  143. #            to your previous 1.x settings so they will be migrated to the database!
  144. elasticsearch_max_docs_per_index = 20000000
  145.  
  146. # (Approximate) maximum size in bytes per Elasticsearch index on disk before a new index is being created, also see
  147. # no_retention and elasticsearch_max_number_of_indices. Default is 1GB.
  148. # Configure this if you used 'rotation_strategy = size' above.
  149. #
  150. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  151. #            to your previous 1.x settings so they will be migrated to the database!
  152. #elasticsearch_max_size_per_index = 1073741824
  153.  
  154. # (Approximate) maximum time before a new Elasticsearch index is being created, also see
  155. # no_retention and elasticsearch_max_number_of_indices. Default is 1 day.
  156. # Configure this if you used 'rotation_strategy = time' above.
  157. # Please note that this rotation period does not look at the time specified in the received messages, but is
  158. # using the real clock value to decide when to rotate the index!
  159. # Specify the time using a duration and a suffix indicating which unit you want:
  160. #  1w  = 1 week
  161. #  1d  = 1 day
  162. #  12h = 12 hours
  163. # Permitted suffixes are: d for day, h for hour, m for minute, s for second.
  164. #
  165. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  166. #            to your previous 1.x settings so they will be migrated to the database!
  167. #elasticsearch_max_time_per_index = 1d
  168.  
  169. # Graylog will use multiple indices to store documents in. You can configured the strategy it uses to determine
  170. # when to rotate the currently active write index.
  171. # It supports multiple rotation strategies:
  172. #   - "count" of messages per index, use elasticsearch_max_docs_per_index below to configure
  173. #   - "size" per index, use elasticsearch_max_size_per_index below to configure
  174. # valid values are "count", "size" and "time", default is "count"
  175. #
  176. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  177. #            to your previous 1.x settings so they will be migrated to the database!
  178. rotation_strategy = count
  179.  
  180. # (Approximate) maximum number of documents in an Elasticsearch index before a new index
  181. # is being created, also see no_retention and elasticsearch_max_number_of_indices.
  182. # Configure this if you used 'rotation_strategy = count' above.
  183. #
  184. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  185. #            to your previous 1.x settings so they will be migrated to the database!
  186. elasticsearch_max_docs_per_index = 20000000
  187.  
  188. # (Approximate) maximum size in bytes per Elasticsearch index on disk before a new index is being created, also see
  189. # no_retention and elasticsearch_max_number_of_indices. Default is 1GB.
  190. # Configure this if you used 'rotation_strategy = size' above.
  191. #
  192. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  193. #            to your previous 1.x settings so they will be migrated to the database!
  194. #elasticsearch_max_size_per_index = 1073741824
  195.  
  196. # (Approximate) maximum time before a new Elasticsearch index is being created, also see
  197. # no_retention and elasticsearch_max_number_of_indices. Default is 1 day.
  198. # Configure this if you used 'rotation_strategy = time' above.
  199. # Please note that this rotation period does not look at the time specified in the received messages, but is
  200. # using the real clock value to decide when to rotate the index!
  201. # Specify the time using a duration and a suffix indicating which unit you want:
  202. #  1w  = 1 week
  203. #  1d  = 1 day
  204. #  12h = 12 hours
  205. # Permitted suffixes are: d for day, h for hour, m for minute, s for second.
  206. #
  207. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  208. #            to your previous 1.x settings so they will be migrated to the database!
  209. #elasticsearch_max_time_per_index = 1d
  210.  
  211. # Disable checking the version of Elasticsearch for being compatible with this Graylog release.
  212. # WARNING: Using Graylog with unsupported and untested versions of Elasticsearch may lead to data loss!
  213. #elasticsearch_disable_version_check = true
  214.  
  215. # Disable message retention on this node, i. e. disable Elasticsearch index rotation.
  216. #no_retention = false
  217.  
  218. # How many indices do you want to keep?
  219. #
  220. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  221. #            to your previous 1.x settings so they will be migrated to the database!
  222. elasticsearch_max_number_of_indices = 20
  223.  
  224. # Decide what happens with the oldest indices when the maximum number of indices is reached.
  225. # The following strategies are availble:
  226. #   - delete # Deletes the index completely (Default)
  227. #   - close # Closes the index and hides it from the system. Can be re-opened later.
  228. #
  229. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  230. #            to your previous 1.x settings so they will be migrated to the database!
  231. retention_strategy = delete
  232.  
  233. # How many indices do you want to keep?
  234. #
  235. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  236. #            to your previous 1.x settings so they will be migrated to the database!
  237. elasticsearch_max_number_of_indices = 20
  238.  
  239. # Decide what happens with the oldest indices when the maximum number of indices is reached.
  240. # The following strategies are availble:
  241. #   - delete # Deletes the index completely (Default)
  242. #   - close # Closes the index and hides it from the system. Can be re-opened later.
  243. #
  244. # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these
  245. #            to your previous 1.x settings so they will be migrated to the database!
  246. retention_strategy = delete
  247.  
  248. # How many Elasticsearch shards and replicas should be used per index? Note that this only applies to newly created indices.
  249. elasticsearch_shards = 4
  250. elasticsearch_replicas = 1
  251.  
  252. # Prefix for all Elasticsearch indices and index aliases managed by Graylog.
  253. elasticsearch_index_prefix = graylog
  254.  
  255. # Name of the Elasticsearch index template used by Graylog to apply the mandatory index mapping.
  256. # # Default: graylog-internal
  257. #elasticsearch_template_name = graylog-internal
  258.  
  259. # Do you want to allow searches with leading wildcards? This can be extremely resource hungry and should only
  260. # be enabled with care. See also: https://www.graylog.org/documentation/general/queries/
  261. allow_leading_wildcard_searches = false
  262.  
  263. # Do you want to allow searches to be highlighted? Depending on the size of your messages this can be memory hungry and
  264. # should only be enabled after making sure your Elasticsearch cluster has enough memory.
  265. allow_highlighting = false
  266.  
  267. # settings to be passed to elasticsearch's client (overriding those in the provided elasticsearch_config_file)
  268. # all these
  269. # this must be the same as for your Elasticsearch cluster
  270. elasticsearch_cluster_name = intbcom-graylog
  271.  
  272. # The prefix being used to generate the Elasticsearch node name which makes it easier to identify the specific Graylog
  273. # server running the embedded Elasticsearch instance. The node name will be constructed by concatenating this prefix
  274. # and the Graylog node ID (see node_id_file), for example "graylog-17052010-1234-5678-abcd-1337cafebabe".
  275. # Default: graylog-
  276. #elasticsearch_node_name_prefix = graylog-
  277.  
  278. # A comma-separated list of Elasticsearch nodes which Graylog is using to connect to the Elasticsearch cluster,
  279. # see https://www.elastic.co/guide/en/elasticsearch/reference/2.3/modules-discovery-zen.html for details.
  280. # Default: 127.0.0.1
  281. elasticsearch_discovery_zen_ping_unicast_hosts = 192.168.56.102:9300
  282.  
  283. # we don't want the Graylog server to store any data, or be master node
  284. #elasticsearch_node_master = false
  285. #elasticsearch_node_data = false
  286.  
  287. # use a different port if you run multiple Elasticsearch nodes on one machine
  288. #elasticsearch_transport_tcp_port = 9350
  289.  
  290. # we don't need to run the embedded HTTP server here
  291. #elasticsearch_http_enabled = false
  292.  
  293. # Enable Elasticsearch multicast discovery. This requires the installation of an Elasticsearch plugin,
  294. # see https://www.elastic.co/guide/en/elasticsearch/plugins/2.3/discovery-multicast.html for details.
  295. # Default: false
  296. #elasticsearch_discovery_zen_ping_multicast_enabled = false
  297.  
  298. # Change the following setting if you are running into problems with timeouts during Elasticsearch cluster discovery.
  299. # The setting is specified in milliseconds, the default is 5000ms (5 seconds).
  300. #elasticsearch_cluster_discovery_timeout = 5000
  301.  
  302. # the following settings allow to change the bind addresses for the Elasticsearch client in Graylog
  303. # these settings are empty by default, letting Elasticsearch choose automatically,
  304. # override them here or in the 'elasticsearch_config_file' if you need to bind to a special address
  305. # refer to http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/modules-network.html
  306. # for special values here
  307. elasticsearch_network_host = 192.168.56.101
  308. #elasticsearch_network_bind_host = 192.168.56.102
  309. #elasticsearch_network_publish_host = 192.168.56.102
  310.  
  311. # The total amount of time discovery will look for other Elasticsearch nodes in the cluster
  312. # before giving up and declaring the current node master.
  313. #elasticsearch_discovery_initial_state_timeout = 3s
  314.  
  315. # Analyzer (tokenizer) to use for message and full_message field. The "standard" filter usually is a good idea.
  316. # All supported analyzers are: standard, simple, whitespace, stop, keyword, pattern, language, snowball, custom
  317. # Elasticsearch documentation: http://www.elasticsearch.org/guide/reference/index-modules/analysis/
  318. # Note that this setting only takes effect on newly created indices.
  319. elasticsearch_analyzer = standard
  320.  
  321. # Global request timeout for Elasticsearch requests (e. g. during search, index creation, or index time-range
  322. # calculations) based on a best-effort to restrict the runtime of Elasticsearch operations.
  323. # Default: 1m
  324. #elasticsearch_request_timeout = 1m
  325.  
  326. # Time interval for index range information cleanups. This setting defines how often stale index range information
  327. # is being purged from the database.
  328. # Default: 1h
  329. #index_ranges_cleanup_interval = 1h
  330.  
  331. # Batch size for the Elasticsearch output. This is the maximum (!) number of messages the Elasticsearch output
  332. # module will get at once and write to Elasticsearch in a batch call. If the configured batch size has not been
  333. # reached within output_flush_interval seconds, everything that is available will be flushed at once. Remember
  334. # that every outputbuffer processor manages its own batch and performs its own batch write calls.
  335. # ("outputbuffer_processors" variable)
  336. output_batch_size = 500
  337.  
  338. # Flush interval (in seconds) for the Elasticsearch output. This is the maximum amount of time between two
  339. # batches of messages written to Elasticsearch. It is only effective at all if your minimum number of messages
  340. # for this time period is less than output_batch_size * outputbuffer_processors.
  341. output_flush_interval = 1
  342.  
  343. # As stream outputs are loaded only on demand, an output which is failing to initialize will be tried over and
  344. # over again. To prevent this, the following configuration options define after how many faults an output will
  345. # not be tried again for an also configurable amount of seconds.
  346. output_fault_count_threshold = 5
  347. output_fault_penalty_seconds = 30
  348.  
  349. # The number of parallel running processors.
  350. # Raise this number if your buffers are filling up.
  351. processbuffer_processors = 5
  352. outputbuffer_processors = 3
  353.  
  354. #outputbuffer_processor_keep_alive_time = 5000
  355. #outputbuffer_processor_threads_core_pool_size = 3
  356. #outputbuffer_processor_threads_max_pool_size = 30
  357.  
  358. # UDP receive buffer size for all message inputs (e. g. SyslogUDPInput).
  359. #udp_recvbuffer_sizes = 1048576
  360.  
  361. # Wait strategy describing how buffer processors wait on a cursor sequence. (default: sleeping)
  362. # Possible types:
  363. #  - yielding
  364. #     Compromise between performance and CPU usage.
  365. #  - sleeping
  366. #     Compromise between performance and CPU usage. Latency spikes can occur after quiet periods.
  367. #  - blocking
  368. #     High throughput, low latency, higher CPU usage.
  369. #  - busy_spinning
  370. #     Avoids syscalls which could introduce latency jitter. Best when threads can be bound to specific CPU cores.
  371. processor_wait_strategy = blocking
  372.  
  373. # Size of internal ring buffers. Raise this if raising outputbuffer_processors does not help anymore.
  374. # For optimum performance your LogMessage objects in the ring buffer should fit in your CPU L3 cache.
  375. # Must be a power of 2. (512, 1024, 2048, ...)
  376. ring_size = 65536
  377.  
  378. inputbuffer_ring_size = 65536
  379. inputbuffer_processors = 2
  380. inputbuffer_wait_strategy = blocking
  381.  
  382. # Enable the disk based message journal.
  383. message_journal_enabled = true
  384.  
  385. # The directory which will be used to store the message journal. The directory must me exclusively used by Graylog and
  386. # must not contain any other files than the ones created by Graylog itself.
  387. message_journal_dir = /var/lib/graylog-server/journal
  388.  
  389. # Journal hold messages before they could be written to Elasticsearch.
  390. # For a maximum of 12 hours or 5 GB whichever happens first.
  391. # During normal operation the journal will be smaller.
  392. #message_journal_max_age = 12h
  393. #message_journal_max_size = 5gb
  394.  
  395. #message_journal_flush_age = 1m
  396. #message_journal_flush_interval = 1000000
  397. #message_journal_segment_age = 1h
  398. #message_journal_segment_size = 100mb
  399.  
  400. # Number of threads used exclusively for dispatching internal events. Default is 2.
  401. #async_eventbus_processors = 2
  402.  
  403. # How many seconds to wait between marking node as DEAD for possible load balancers and starting the actual
  404. # shutdown process. Set to 0 if you have no status checking load balancers in front.
  405. lb_recognition_period_seconds = 3
  406.  
  407. # Every message is matched against the configured streams and it can happen that a stream contains rules which
  408. # take an unusual amount of time to run, for example if its using regular expressions that perform excessive backtracking.
  409. # This will impact the processing of the entire server. To keep such misbehaving stream rules from impacting other
  410. # streams, Graylog limits the execution time for each stream.
  411. # The default values are noted below, the timeout is in milliseconds.
  412. # If the stream matching for one stream took longer than the timeout value, and this happened more than "max_faults" times
  413. # that stream is disabled and a notification is shown in the web interface.
  414. #stream_processing_timeout = 2000
  415. #stream_processing_max_faults = 3
  416.  
  417. # Length of the interval in seconds in which the alert conditions for all streams should be checked
  418. # and alarms are being sent.
  419. #alert_check_interval = 60
  420.  
  421. # Since 0.21 the Graylog server supports pluggable output modules. This means a single message can be written to multiple
  422. # outputs. The next setting defines the timeout for a single output module, including the default output module where all
  423. # messages end up.
  424. #
  425. # Time in milliseconds to wait for all message outputs to finish writing a single message.
  426. #output_module_timeout = 10000
  427.  
  428. # Time in milliseconds after which a detected stale master node is being rechecked on startup.
  429. #stale_master_timeout = 2000
  430.  
  431. # Time in milliseconds which Graylog is waiting for all threads to stop on shutdown.
  432. #shutdown_timeout = 30000
  433.  
  434. # MongoDB connection string
  435. # See http://docs.mongodb.org/manual/reference/connection-string/ for details
  436. mongodb_uri = mongodb://192.168.56.104:27017,192.168.56.103:27017/graylog
  437.  
  438. # /?replicaSet=intbcom-mongodb
  439.  
  440.  
  441. # Authenticate against the MongoDB server
  442. #mongodb_uri = mongodb://grayloguser:secret@localhost:27017/graylog
  443.  
  444. # Use a replica set instead of a single host
  445. #mongodb_uri = mongodb://grayloguser:secret@localhost:27017,localhost:27018,localhost:27019/graylog
  446.  
  447. # Increase this value according to the maximum connections your MongoDB server can handle from a single client
  448. # if you encounter MongoDB connection problems.
  449. mongodb_max_connections = 1000
  450.  
  451. # Number of threads allowed to be blocked by MongoDB connections multiplier. Default: 5
  452. # If mongodb_max_connections is 100, and mongodb_threads_allowed_to_block_multiplier is 5,
  453. # then 500 threads can block. More than that and an exception will be thrown.
  454. # http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html#threadsAllowedToBlockForConnectionMultiplier
  455. mongodb_threads_allowed_to_block_multiplier = 5
  456.  
  457. # Drools Rule File (Use to rewrite incoming log messages)
  458. # See: https://www.graylog.org/documentation/general/rewriting/
  459. #rules_file = /etc/graylog/server/rules.drl
  460.  
  461. # Email transport
  462. #transport_email_enabled = false
  463. #transport_email_hostname = mail.example.com
  464. #transport_email_port = 587
  465. #transport_email_use_auth = true
  466. #transport_email_use_tls = true
  467. #transport_email_use_ssl = true
  468. #transport_email_auth_username = you@example.com
  469. #transport_email_auth_password = secret
  470. #transport_email_subject_prefix = [graylog]
  471. #transport_email_from_email = graylog@example.com
  472.  
  473. # Specify and uncomment this if you want to include links to the stream in your stream alert mails.
  474. # This should define the fully qualified base url to your web interface exactly the same way as it is accessed by your users.
  475. #transport_email_web_interface_url = https://graylog.example.com
  476.  
  477. # The default connect timeout for outgoing HTTP connections.
  478. # Values must be a positive duration (and between 1 and 2147483647 when converted to milliseconds).
  479. # Default: 5s
  480. #http_connect_timeout = 5s
  481.  
  482. # The default read timeout for outgoing HTTP connections.
  483. # Values must be a positive duration (and between 1 and 2147483647 when converted to milliseconds).
  484. # Default: 10s
  485. #http_read_timeout = 10s
  486.  
  487. # The default write timeout for outgoing HTTP connections.
  488. # Values must be a positive duration (and between 1 and 2147483647 when converted to milliseconds).
  489. # Default: 10s
  490. #http_write_timeout = 10s
  491.  
  492. # HTTP proxy for outgoing HTTP connections
  493. #http_proxy_uri =
  494.  
  495. # Disable the optimization of Elasticsearch indices after index cycling. This may take some load from Elasticsearch
  496. # on heavily used systems with large indices, but it will decrease search performance. The default is to optimize
  497. # cycled indices.
  498. #disable_index_optimization = true
  499.  
  500. # Optimize the index down to <= index_optimization_max_num_segments. A higher number may take some load from Elasticsearch
  501. # on heavily used systems with large indices, but it will decrease search performance. The default is 1.
  502. #index_optimization_max_num_segments = 1
  503.  
  504. # The threshold of the garbage collection runs. If GC runs take longer than this threshold, a system notification
  505. # will be generated to warn the administrator about possible problems with the system. Default is 1 second.
  506. #gc_warning_threshold = 1s
  507.  
  508. # Connection timeout for a configured LDAP server (e. g. ActiveDirectory) in milliseconds.
  509. #ldap_connection_timeout = 2000
  510.  
  511. # Enable collection of Graylog-related metrics into MongoDB
  512. # WARNING: This will add *a lot* of data into your MongoDB database on a regular interval (1 second)!
  513. # DEPRECATED: This setting and the respective feature will be removed in a future version of Graylog.
  514. #enable_metrics_collection = false
  515.  
  516. # Disable the use of SIGAR for collecting system stats
  517. #disable_sigar = false
  518.  
  519. # The default cache time for dashboard widgets. (Default: 10 seconds, minimum: 1 second)
  520. #dashboard_widget_default_cache_time = 10s
  521.  
  522. # Automatically load content packs in "content_packs_dir" on the first start of Graylog.
  523. #content_packs_loader_enabled = true
  524.  
  525. # The directory which contains content packs which should be loaded on the first start of Graylog.
  526. content_packs_dir = /usr/share/graylog-server/contentpacks
  527.  
  528. # A comma-separated list of content packs (files in "content_packs_dir") which should be applied on
  529. # the first start of Graylog.
  530. # Default: empty
  531. content_packs_auto_load = grok-patterns.json
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement