Advertisement
Guest User

Untitled

a guest
Jun 19th, 2018
360
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.94 KB | None | 0 0
  1. REST API listen URI. Must be reachable by other Graylog server nodes if you run a cluster.
  2. # When using Graylog Collectors, this URI will be used to receive heartbeat messages and must be accessible for all collectors.
  3. rest_listen_uri = http://192.168.1.22:9000/api/
  4. # REST API transport address. Defaults to the value of rest_listen_uri. Exception: If rest_listen_uri
  5. # is set to a wildcard IP address (0.0.0.0) the first non-loopback IPv4 system address is used.
  6. # If set, this will be promoted in the cluster discovery APIs, so other nodes may try to connect on
  7. # this address and it is used to generate URLs addressing entities in the REST API. (see rest_listen_uri)
  8. # You will need to define this, if your Graylog server is running behind a HTTP proxy that is rewriting
  9. # the scheme, host name or URI.
  10. # This must not contain a wildcard address (0.0.0.0).
  11. rest_transport_uri = http://public:9000/api/
  12.  
  13. # Enable CORS headers for REST API. This is necessary for JS-clients accessing the server directly.
  14. # If these are disabled, modern browsers will not be able to retrieve resources from the server.
  15. # This is enabled by default. Uncomment the next line to disable it.
  16. #rest_enable_cors = false
  17.  
  18. # Enable GZIP support for REST API. This compresses API responses and therefore helps to reduce
  19. # overall round trip times. This is enabled by default. Uncomment the next line to disable it.
  20. #rest_enable_gzip = false
  21.  
  22. # Enable HTTPS support for the REST API. This secures the communication with the REST API with
  23. # TLS to prevent request forgery and eavesdropping. This is disabled by default. Uncomment the
  24. # next line to enable it.
  25. #rest_enable_tls = true
  26.  
  27. # The X.509 certificate chain file in PEM format to use for securing the REST API.
  28. #rest_tls_cert_file = /path/to/graylog.crt
  29.  
  30. # The PKCS#8 private key file in PEM format to use for securing the REST API.
  31. #rest_tls_key_file = /path/to/graylog.key
  32.  
  33. # The password to unlock the private key used for securing the REST API.
  34. #rest_tls_key_password = secret
  35.  
  36. # The maximum size of the HTTP request headers in bytes.
  37. #rest_max_header_size = 8192
  38.  
  39. # The size of the thread pool used exclusively for serving the REST API.
  40. #rest_thread_pool_size = 16
  41.  
  42. # Comma separated list of trusted proxies that are allowed to set the client address with X-Forwarded-For
  43. # header. May be subnets, or hosts.
  44. #trusted_proxies = 127.0.0.1/32, 0:0:0:0:0:0:0:1/128
  45.  
  46. # Enable the embedded Graylog web interface.
  47. # Default: true
  48. #web_enable = true
  49.  
  50. # Web interface listen URI.
  51. # Configuring a path for the URI here effectively prefixes all URIs in the web interface. This is a replacement
  52. # for the application.context configuration parameter in pre-2.0 versions of the Graylog web interface.
  53. web_listen_uri = http://192.168.1.22:9000/
  54.  
  55. # Web interface endpoint URI. This setting can be overriden on a per-request basis with the X-Graylog-Server-URL header.
  56. # Default: $rest_transport_uri
  57. #web_endpoint_uri = http://public:9000/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement