Advertisement
Guest User

Untitled

a guest
Jul 16th, 2017
542
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 10.23 KB | None | 0 0
  1. Error! ×Unable to send dummy alert, check server log for details: API call failed GET http://@127.0.0.1:12900/streams/53eb19b722e4a0c4d93dcfe5/alerts/sendDummyAlert returned 500 Internal Server Error body: Sending the email to the following server failed : 192.168.169.10:587
  2.  
  3. # If you are running more than one instances of graylog2-server you have to select one of these
  4. # instances as master. The master will perform some periodical tasks that non-masters won't perform.
  5. is_master = true
  6.  
  7. # The auto-generated node ID will be stored in this file and read after restarts. It is a good idea
  8. # to use an absolute file path here if you are starting graylog2-server from init scripts or similar.
  9. node_id_file = /etc/graylog2-server-node-id
  10.  
  11. # You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters.
  12. # Generate one by using for example: pwgen -s 96
  13. password_secret = 8OiOyemf3RBqK2SdmppNouFilSIgKjGShI6fgC72ixeCgRYtxMsfffsdfasfsdfefeffsdfsafsdfafeasZen2ycrRRzGEbuasoiN2q3Z6GrDNiQEGNfmAemNd4wc1
  14. # the default root user is named 'admin'
  15. # root_username = admin
  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 = 5430d65ba153185053363eb0fdsfsdfdasdwrwerewr32c36cd38df30a2feaa6e2e876f5efadef32ce29
  23.  
  24. # Set plugin directory here (relative or absolute)
  25. plugin_dir = plugin
  26.  
  27. # REST API listen URI. Must be reachable by other graylog2-server nodes if you run a cluster.
  28. rest_listen_uri = http://127.0.0.1:12900/
  29. # REST API transport address. Defaults to the value of rest_listen_uri. Exception: If rest_listen_uri
  30. # is set to a wildcard IP address (0.0.0.0) the first non-loopback IPv4 system address is used.
  31. # This will be promoted in the cluster discovery APIs and other nodes may try to connect on this
  32. # address. (see rest_listen_uri)
  33. rest_transport_uri = http://127.0.0.1:12900/
  34.  
  35. # Enable CORS headers for REST api. This is necessary for JS-clients accessing the server directly.
  36. # If these are disabled, modern browsers will not be able to retrieve resources from the server.
  37. # This is disabled by default. Uncomment the next line to enable it.
  38. #rest_enable_cors = true
  39.  
  40. # Enable GZIP support for REST api. This compresses API responses and therefore helps to reduce
  41. # overall round trip times. This is disabled by default. Uncomment the next line to enable it.
  42. #rest_enable_gzip = true
  43.  
  44. # Embedded elasticsearch configuration file
  45. # pay attention to the working directory of the server, maybe use an absolute path here
  46. #elasticsearch_config_file = /etc/graylog2-elasticsearch.yml
  47.  
  48. elasticsearch_max_docs_per_index = 20000000
  49.  
  50. # How many indices do you want to keep?
  51. # elasticsearch_max_number_of_indices*elasticsearch_max_docs_per_index=total number of messages in your setup
  52. elasticsearch_max_number_of_indices = 20
  53.  
  54. # Decide what happens with the oldest indices when the maximum number of indices is reached.
  55. # The following strategies are availble:
  56. # - delete # Deletes the index completely (Default)
  57. # - close # Closes the index and hides it from the system. Can be re-opened later.
  58. retention_strategy = close
  59.  
  60. # How many ElasticSearch shards and replicas should be used per index? Note that this only applies to newly created indices.
  61. elasticsearch_shards = 1
  62. elasticsearch_replicas = 0
  63.  
  64. elasticsearch_index_prefix = graylog2
  65.  
  66. # Do you want to allow searches with leading wildcards? This can be extremely resource hungry and should only
  67. # be enabled with care. See also: http://support.torch.sh/help/kb/graylog2-web-interface/the-search-bar-explained
  68. allow_leading_wildcard_searches = false
  69.  
  70. # Do you want to allow searches to be highlighted? Depending on the size of your messages this can be memory hungry and
  71. # should only be enabled after making sure your elasticsearch cluster has enough memory.
  72. allow_highlighting = false
  73.  
  74. # settings to be passed to elasticsearch's client (overriding those in the provided elasticsearch_config_file)
  75. # all these
  76. # this must be the same as for your elasticsearch cluster
  77. #elasticsearch_cluster_name = graylog2
  78.  
  79. # you could also leave this out, but makes it easier to identify the graylog2 client instance
  80. #elasticsearch_node_name = graylog2-server
  81.  
  82. # we don't want the graylog2 server to store any data, or be master node
  83. #elasticsearch_node_master = false
  84. #elasticsearch_node_data = false
  85.  
  86. # use a different port if you run multiple elasticsearch nodes on one machine
  87. #elasticsearch_transport_tcp_port = 9350
  88. # we don't need to run the embedded HTTP server here
  89. #elasticsearch_http_enabled = false
  90.  
  91. elasticsearch_discovery_zen_ping_multicast_enabled = false
  92. elasticsearch_discovery_zen_ping_unicast_hosts = 127.0.0.1:9300
  93.  
  94. # the following settings allow to change the bind addresses for the elasticsearch client in graylog2
  95. # these settings are empty by default, letting elasticsearch choose automatically,
  96. # override them here or in the 'elasticsearch_config_file' if you need to bind to a special address
  97. # refer to http://www.elasticsearch.org/guide/en/elasticsearch/reference/0.90/modules-network.html for special values here
  98. # elasticsearch_network_host =
  99. # elasticsearch_network_bind_host =
  100. # elasticsearch_network_publish_host =
  101.  
  102. # Analyzer (tokenizer) to use for message and full_message field. The "standard" filter usually is a good idea.
  103. # All supported analyzers are: standard, simple, whitespace, stop, keyword, pattern, language, snowball, custom
  104. # ElasticSearch documentation: http://www.elasticsearch.org/guide/reference/index-modules/analysis/
  105. # Note that this setting only takes effect on newly created indices.
  106. elasticsearch_analyzer = standard
  107.  
  108. # Batch size for the ElasticSearch output. This is the maximum (!) number of messages the ElasticSearch output
  109. # module will get at once and write to ElasticSearch in a batch call. If the configured batch size has not been
  110. # reached within output_flush_interval seconds, everything that is available will be flushed at once. Remember
  111. # that every outputbuffer processor manages its own batch and performs its own batch write calls.
  112. # ("outputbuffer_processors" variable)
  113. output_batch_size = 25
  114.  
  115. # Flush interval (in seconds) for the ElasticSearch output. This is the maximum amount of time between two
  116. # batches of messages written to ElasticSearch. It is only effective at all if your minimum number of messages
  117. # for this time period is less than output_batch_size * outputbuffer_processors.
  118. output_flush_interval = 1
  119.  
  120. # The number of parallel running processors.
  121. # Raise this number if your buffers are filling up.
  122. processbuffer_processors = 5
  123. outputbuffer_processors = 3
  124.  
  125. # Wait strategy describing how buffer processors wait on a cursor sequence. (default: sleeping)
  126. # Possible types:
  127. # - yielding
  128. # Compromise between performance and CPU usage.
  129. # - sleeping
  130. # Compromise between performance and CPU usage. Latency spikes can occur after quiet periods.
  131. # - blocking
  132. # High throughput, low latency, higher CPU usage.
  133. # - busy_spinning
  134. # Avoids syscalls which could introduce latency jitter. Best when threads can be bound to specific CPU cores.
  135. processor_wait_strategy = blocking
  136.  
  137. # Size of internal ring buffers. Raise this if raising outputbuffer_processors does not help anymore.
  138. # For optimum performance your LogMessage objects in the ring buffer should fit in your CPU L3 cache.
  139. # Start server with --statistics flag to see buffer utilization.
  140. # Must be a power of 2. (512, 1024, 2048, ...)
  141. ring_size = 1024
  142.  
  143. # EXPERIMENTAL: Dead Letters
  144. # Every failed indexing attempt is logged by default and made visible in the web-interface. You can enable
  145. # the experimental dead letters feature to write every message that was not successfully indexed into the
  146. # MongoDB "dead_letters" collection to make sure that you never lose a message. The actual writing of dead
  147. # letter should work fine already but it is not heavily tested yet and will get more features in future
  148. # releases.
  149. dead_letters_enabled = false
  150.  
  151. # How many seconds to wait between marking node as DEAD for possible load balancers and starting the actual
  152. # shutdown process. Set to 0 if you have no status checking load balancers in front.
  153. lb_recognition_period_seconds = 3
  154.  
  155. # MongoDB Configuration
  156. mongodb_useauth = false
  157. #mongodb_user = grayloguser
  158. #mongodb_password = 123
  159. mongodb_host = 127.0.0.1
  160. #mongodb_replica_set = localhost:27017,localhost:27018,localhost:27019
  161. mongodb_database = graylog2
  162. mongodb_port = 27017
  163.  
  164. # Raise this according to the maximum connections your MongoDB server can handle if you encounter MongoDB connection problems.
  165. mongodb_max_connections = 100
  166.  
  167. # Number of threads allowed to be blocked by MongoDB connections multiplier. Default: 5
  168. # If mongodb_max_connections is 100, and mongodb_threads_allowed_to_block_multiplier is 5, then 500 threads can block. More than that and an exception will be thrown.
  169. # http://api.mongodb.org/java/current/com/mongodb/MongoOptions.html#threadsAllowedToBlockForConnectionMultiplier
  170. mongodb_threads_allowed_to_block_multiplier = 5
  171.  
  172. # Drools Rule File (Use to rewrite incoming log messages)
  173. # See: http://support.torch.sh/help/kb/graylog2-server/custom-message- rewritingprocessing
  174. # rules_file = /etc/graylog2.drl
  175.  
  176. # Email transport
  177. transport_email_enabled = true
  178. transport_email_protocol = smtp
  179. transport_email_hostname = 192.168.159.10
  180. transport_email_port = 587
  181. transport_email_use_auth = false
  182. transport_email_use_tls = false
  183. transport_email_auth_username = graylog2@xyz.com
  184. transport_email_auth_password = W6eteqAqeye3
  185. transport_email_subject_prefix = [graylog2]
  186. transport_email_from_email = graylog2@xyz.com
  187. transport_email_from_name = Graylog2
  188. transport_email_web_interface_url = http://192.168.178.133:3000
  189.  
  190. # Specify and uncomment this if you want to include links to the stream in your stream alert mails.
  191. # This should define the fully qualified base url to your web interface exactly the same way as it is accessed by your users.
  192. #
  193. #transport_email_web_interface_url = http://192.168.178.133:3000
  194. # HTTP proxy for outgoing HTTP calls
  195. #http_proxy_uri =
  196.  
  197. rest_listen_uri = http://192.168.0.1:12900/
  198. rest_transport_uri = http://192.168.0.1:12900/
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement