Guest User

Untitled

a guest
Sep 1st, 2025
20
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 6.17 KB | None | 0 0
  1. #####################################
  2. # GRAYLOG DATANODE CONFIGURATION FILE
  3. #####################################
  4. #
  5. # This is the Graylog DataNode configuration file. The file has to use ISO 8859-1/Latin-1 character encoding.
  6. # Characters that cannot be directly represented in this encoding can be written using Unicode escapes
  7. # as defined in https://docs.oracle.com/javase/specs/jls/se8/html/jls-3.html#jls-3.3, using the \u prefix.
  8. # For example, \u002c.
  9. #
  10. # * Entries are generally expected to be a single line of the form, one of the following:
  11. #
  12. # propertyName=propertyValue
  13. # propertyName:propertyValue
  14. #
  15. # * White space that appears between the property name and property value is ignored,
  16. # so the following are equivalent:
  17. #
  18. # name=Stephen
  19. # name = Stephen
  20. #
  21. # * White space at the beginning of the line is also ignored.
  22. #
  23. # * Lines that start with the comment characters ! or # are ignored. Blank lines are also ignored.
  24. #
  25. # * The property value is generally terminated by the end of the line. White space following the
  26. # property value is not ignored, and is treated as part of the property value.
  27. #
  28. # * A property value can span several lines if each line is terminated by a backslash (‘\’) character.
  29. # For example:
  30. #
  31. # targetCities=\
  32. # Detroit,\
  33. # Chicago,\
  34. # Los Angeles
  35. #
  36. # This is equivalent to targetCities=Detroit,Chicago,Los Angeles (white space at the beginning of lines is ignored).
  37. #
  38. # * The characters newline, carriage return, and tab can be inserted with characters \n, \r, and \t, respectively.
  39. #
  40. # * The backslash character must be escaped as a double backslash. For example:
  41. #
  42. # path=c:\\docs\\doc1
  43. #
  44.  
  45. # The auto-generated node ID will be stored in this file and read after restarts. It is a good idea
  46. # to use an absolute file path here if you are starting Graylog DataNode from init scripts or similar.
  47. node_id_file = /etc/graylog/datanode/node-id
  48.  
  49. # location of your data-node configuration files - put additional files like manually created certificates etc. here
  50. config_location = /etc/graylog/datanode
  51.  
  52. # You MUST set a secret to secure/pepper the stored user passwords here. Use at least 64 characters.
  53. # Generate one by using for example: pwgen -N 1 -s 96
  54. # ATTENTION: This value must be the same on all Graylog and Datanode nodes in the cluster.
  55. # Changing this value after installation will render all user sessions and encrypted values in the database invalid. (e.g. encrypted access tokens)
  56. password_secret = <<redacted>>
  57.  
  58. # The default root user is named 'admin'
  59. #root_username = admin
  60.  
  61. # You MUST specify a hash password for the root user (which you only need to initially set up the
  62. # system and in case you lose connectivity to your authentication backend)
  63. # This password cannot be changed using the API or via the web interface. If you need to change it,
  64. # modify it in this file.
  65. # Create one by using for example: echo -n yourpassword | sha256sum
  66. # and put the resulting hash value into the following line
  67. root_password_sha2 =
  68.  
  69. # connection to MongoDB, shared with the Graylog server
  70. # See https://docs.mongodb.com/manual/reference/connection-string/ for details
  71. #mongodb_uri = mongodb://localhost/graylog
  72. mongodb_uri = <<redacted>>
  73.  
  74. #### HTTP bind address
  75. #
  76. # The network interface used by the Graylog DataNode to bind all services.
  77. #
  78. # bind_address = 0.0.0.0
  79.  
  80. #### Hostname
  81. #
  82. # if you need to specify the hostname to use (because looking it up programmatically gives wrong results)
  83. hostname = dvm-graylogdb-2.xxx.yyy
  84.  
  85. #### HTTP port
  86. #
  87. # The port where the DataNode REST api is listening
  88. #
  89. # datanode_http_port = 8999
  90.  
  91. #### HTTP publish URI
  92. #
  93. # This configuration should be used if you want to connect to this Graylog DataNode's REST API and it is available on
  94. # another network interface than $http_bind_address,
  95. # for example if the machine has multiple network interfaces or is behind a NAT gateway.
  96. # http_publish_uri =
  97.  
  98. #### OpenSearch HTTP port
  99. #
  100. # The port where OpenSearch HTTP is listening on
  101. #
  102. # opensearch_http_port = 9200
  103.  
  104. #### OpenSearch transport port
  105. #
  106. # The port where OpenSearch transports is listening on
  107. #
  108. # opensearch_transport_port = 9300
  109.  
  110. #### OpenSearch node name config option
  111. #
  112. # use this, if your node name should be different from the hostname that's found by programmatically looking it up
  113. #
  114. # node_name =
  115.  
  116. #### OpenSearch discovery_seed_hosts config option
  117. #
  118. # if you're not using the automatic data node setup and want to create a cluster, you have to setup the discovery seed hosts
  119. #
  120. # opensearch_discovery_seed_hosts =
  121.  
  122. #### OpenSearch initial_manager_nodes config option
  123. #
  124. # if you're not using the automatic data node setup and want to create a cluster, you have to setup the initial manager nodes
  125. # make sure to remove this setting after the cluster has formed
  126. #
  127. # initial_cluster_manager_nodes =
  128.  
  129. #### OpenSearch folders
  130. #
  131. # set these if you need OpenSearch to be located in a special place or want to include an existing version
  132. #
  133. # Root directory of the used opensearch distribution
  134. opensearch_location = /usr/share/graylog-datanode/dist
  135.  
  136. opensearch_config_location = /var/lib/graylog-datanode/opensearch/config
  137. opensearch_data_location = /var/lib/graylog-datanode/opensearch/data
  138. opensearch_logs_location = /var/log/graylog-datanode/opensearch
  139.  
  140. #### OpenSearch Certificate bundles for transport and http layer security
  141. #
  142. # if you're not using the automatic data node setup, you can manually configure your SSL certificates
  143. # transport_certificate = datanode-transport-certificates.p12
  144. # transport_certificate_password = password
  145. # http_certificate = datanode-http-certificates.p12
  146. # http_certificate_password = password
  147.  
  148. #### OpenSearch log buffers size
  149. #
  150. # the number of lines from stderr and stdout of the OpenSearch process that are buffered inside the DataNode for logging etc.
  151. #
  152. # process_logs_buffer_size = 500
  153.  
  154. #### OpenSearch JWT token usage
  155. #
  156. # communication between Graylog and OpenSearch is secured by JWT. These are the defaults used for the token usage
  157. # adjust them, if you have special needs.
  158. #
  159. # indexer_jwt_auth_token_caching_duration = 60s
  160. # indexer_jwt_auth_token_expiration_duration = 180s
  161.  
  162. opensearch_heap = 16g
  163.  
Advertisement
Add Comment
Please, Sign In to add comment