Merge ~kwmonroe/graylog-snap:master into ~canonical-is-sa/graylog-snap:master
- Git
- lp:~kwmonroe/graylog-snap
- master
- Merge into master
Proposed by
Kevin W Monroe
Status: | Merged | ||||
---|---|---|---|---|---|
Approved by: | Junien F | ||||
Approved revision: | 1628ea9b195a65bf9c01733322149297ec7a3bb0 | ||||
Merged at revision: | e417d0c9e4378f984d6a641afbd80a6abebe3590 | ||||
Proposed branch: | ~kwmonroe/graylog-snap:master | ||||
Merge into: | ~canonical-is-sa/graylog-snap:master | ||||
Diff against target: |
461 lines (+167/-97) 3 files modified
log4j2.xml (+0/-2) server.conf (+164/-92) snapcraft.yaml (+3/-3) |
||||
Related bugs: |
|
Reviewer | Review Type | Date Requested | Status |
---|---|---|---|
Junien F | Approve | ||
Stuart Bishop (community) | Approve | ||
Canonical IS SAs | Pending | ||
Review via email: mp+365894@code.launchpad.net |
Commit message
update to 3.0-latest
Description of the change
Graylog 3 is needed to facilitate rich Kubernetes logging (logs annotated with k8s pods/containers
To post a comment you must log in.
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : | # |
Revision history for this message
Haw Loeung (hloeung) : | # |
Revision history for this message
Haw Loeung (hloeung) : | # |
Revision history for this message
Kevin W Monroe (kwmonroe) wrote : | # |
Bug 1824708 has more details about the caveats of this upgrade. We may need to work out snap build changes prior to merging this. That is, create and maintain tracks for v2 and v3 for users that do no wish to make the jump to this new major version.
Revision history for this message
Stuart Bishop (stub) wrote : | # |
LGTM.
Does server.conf need to exist in this branch, or can it be pulled at build time from the graylog package?
review:
Approve
Revision history for this message
🤖 Canonical IS Merge Bot (canonical-is-mergebot) wrote : | # |
Change successfully merged at revision e417d0c9e4378f9
Preview Diff
[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1 | diff --git a/log4j2.xml b/log4j2.xml |
2 | index 743bce0..0c322f2 100644 |
3 | --- a/log4j2.xml |
4 | +++ b/log4j2.xml |
5 | @@ -22,8 +22,6 @@ |
6 | <Logger name="org.elasticsearch.script" level="warn"/> |
7 | <!-- Disable messages from the version check --> |
8 | <Logger name="org.graylog2.periodical.VersionCheckThread" level="off"/> |
9 | - <!-- Suppress crazy byte array dump of Drools --> |
10 | - <Logger name="org.drools.compiler.kie.builder.impl.KieRepositoryImpl" level="warn"/> |
11 | <!-- Silence chatty natty --> |
12 | <Logger name="com.joestelmach.natty.Parser" level="warn"/> |
13 | <!-- Silence Kafka log chatter --> |
14 | diff --git a/server.conf b/server.conf |
15 | index 02790fb..0c0bf78 100644 |
16 | --- a/server.conf |
17 | +++ b/server.conf |
18 | @@ -73,102 +73,110 @@ root_password_sha2 = ROOT_PASSWORD |
19 | # Default is UTC |
20 | #root_timezone = UTC |
21 | |
22 | +# Set the bin directory here (relative or absolute) |
23 | +# This directory contains binaries that are used by the Graylog server. |
24 | +# Default: bin |
25 | +bin_dir = /snap/graylog/current/usr/share/graylog-server/bin |
26 | + |
27 | +# Set the data directory here (relative or absolute) |
28 | +# This directory is used to store Graylog server state. |
29 | +# Default: data |
30 | +data_dir = /var/snap/graylog/common |
31 | + |
32 | # Set plugin directory here (relative or absolute) |
33 | plugin_dir = /snap/graylog/current/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:9001/api/ |
38 | +############### |
39 | +# HTTP settings |
40 | +############### |
41 | + |
42 | +#### HTTP bind address |
43 | +# |
44 | +# The network interface used by the Graylog HTTP interface. |
45 | +# |
46 | +# This network interface must be accessible by all Graylog nodes in the cluster and by all clients |
47 | +# using the Graylog web interface. |
48 | +# |
49 | +# If the port is omitted, Graylog will use port 9000 by default. |
50 | +# |
51 | +# Default: 127.0.0.1:9000 |
52 | +http_bind_address = 127.0.0.1:9000 |
53 | +#http_bind_address = [2001:db8::1]:9000 |
54 | |
55 | -# REST API transport address. Defaults to the value of rest_listen_uri. Exception: If rest_listen_uri |
56 | -# is set to a wildcard IP address (0.0.0.0) the first non-loopback IPv4 system address is used. |
57 | -# If set, this will be promoted in the cluster discovery APIs, so other nodes may try to connect on |
58 | -# this address and it is used to generate URLs addressing entities in the REST API. (see rest_listen_uri) |
59 | -# You will need to define this, if your Graylog server is running behind a HTTP proxy that is rewriting |
60 | -# the scheme, host name or URI. |
61 | -# This must not contain a wildcard address (0.0.0.0). |
62 | -#rest_transport_uri = http://192.168.1.1:9000/api/ |
63 | +#### HTTP publish URI |
64 | +# |
65 | +# The HTTP URI of this Graylog node which is used to communicate with the other Graylog nodes in the cluster and by all |
66 | +# clients using the Graylog web interface. |
67 | +# |
68 | +# The URI will be published in the cluster discovery APIs, so that other Graylog nodes will be able to find and connect to this Graylog node. |
69 | +# |
70 | +# This configuration setting has to be used if this Graylog node is available on another network interface than $http_bind_address, |
71 | +# for example if the machine has multiple network interfaces or is behind a NAT gateway. |
72 | +# |
73 | +# If $http_bind_address contains a wildcard IPv4 address (0.0.0.0), the first non-loopback IPv4 address of this machine will be used. |
74 | +# This configuration setting *must not* contain a wildcard address! |
75 | +# |
76 | +# Default: http://$http_bind_address/ |
77 | +#http_publish_uri = http://192.168.1.1:9000/ |
78 | |
79 | -# Enable CORS headers for REST API. This is necessary for JS-clients accessing the server directly. |
80 | +#### External Graylog URI |
81 | +# |
82 | +# The public URI of Graylog which will be used by the Graylog web interface to communicate with the Graylog REST API. |
83 | +# |
84 | +# The external Graylog URI usually has to be specified, if Graylog is running behind a reverse proxy or load-balancer |
85 | +# and it will be used to generate URLs addressing entities in the Graylog REST API (see $http_bind_address). |
86 | +# |
87 | +# When using Graylog Collector, this URI will be used to receive heartbeat messages and must be accessible for all collectors. |
88 | +# |
89 | +# This setting can be overriden on a per-request basis with the "X-Graylog-Server-URL" HTTP request header. |
90 | +# |
91 | +# Default: $http_publish_uri |
92 | +#http_external_uri = |
93 | + |
94 | +#### Enable CORS headers for HTTP interface |
95 | +# |
96 | +# This is necessary for JS-clients accessing the server directly. |
97 | # If these are disabled, modern browsers will not be able to retrieve resources from the server. |
98 | # This is enabled by default. Uncomment the next line to disable it. |
99 | -#rest_enable_cors = false |
100 | +#http_enable_cors = false |
101 | |
102 | -# Enable GZIP support for REST API. This compresses API responses and therefore helps to reduce |
103 | +#### Enable GZIP support for HTTP interface |
104 | +# |
105 | +# This compresses API responses and therefore helps to reduce |
106 | # overall round trip times. This is enabled by default. Uncomment the next line to disable it. |
107 | -#rest_enable_gzip = false |
108 | +#http_enable_gzip = false |
109 | |
110 | -# Enable HTTPS support for the REST API. This secures the communication with the REST API with |
111 | -# TLS to prevent request forgery and eavesdropping. This is disabled by default. Uncomment the |
112 | -# next line to enable it. |
113 | -#rest_enable_tls = true |
114 | +# The maximum size of the HTTP request headers in bytes. |
115 | +#http_max_header_size = 8192 |
116 | |
117 | -# The X.509 certificate chain file in PEM format to use for securing the REST API. |
118 | -#rest_tls_cert_file = /path/to/graylog.crt |
119 | +# The size of the thread pool used exclusively for serving the HTTP interface. |
120 | +#http_thread_pool_size = 16 |
121 | |
122 | -# The PKCS#8 private key file in PEM format to use for securing the REST API. |
123 | -#rest_tls_key_file = /path/to/graylog.key |
124 | +################ |
125 | +# HTTPS settings |
126 | +################ |
127 | |
128 | -# The password to unlock the private key used for securing the REST API. |
129 | -#rest_tls_key_password = secret |
130 | +#### Enable HTTPS support for the HTTP interface |
131 | +# |
132 | +# This secures the communication with the HTTP interface with TLS to prevent request forgery and eavesdropping. |
133 | +# |
134 | +# Default: false |
135 | +#http_enable_tls = true |
136 | |
137 | -# The maximum size of the HTTP request headers in bytes. |
138 | -#rest_max_header_size = 8192 |
139 | +# The X.509 certificate chain file in PEM format to use for securing the HTTP interface. |
140 | +#http_tls_cert_file = /path/to/graylog.crt |
141 | + |
142 | +# The PKCS#8 private key file in PEM format to use for securing the HTTP interface. |
143 | +#http_tls_key_file = /path/to/graylog.key |
144 | |
145 | -# The maximal length of the initial HTTP/1.1 line in bytes. |
146 | -#rest_max_initial_line_length = 4096 |
147 | +# The password to unlock the private key used for securing the HTTP interface. |
148 | +#http_tls_key_password = secret |
149 | |
150 | -# The size of the thread pool used exclusively for serving the REST API. |
151 | -#rest_thread_pool_size = 16 |
152 | |
153 | # Comma separated list of trusted proxies that are allowed to set the client address with X-Forwarded-For |
154 | # header. May be subnets, or hosts. |
155 | #trusted_proxies = 127.0.0.1/32, 0:0:0:0:0:0:0:1/128 |
156 | |
157 | -# Enable the embedded Graylog web interface. |
158 | -# Default: true |
159 | -#web_enable = false |
160 | - |
161 | -# Web interface listen URI. |
162 | -# Configuring a path for the URI here effectively prefixes all URIs in the web interface. This is a replacement |
163 | -# for the application.context configuration parameter in pre-2.0 versions of the Graylog web interface. |
164 | -web_listen_uri = http://127.0.0.1:9000/ |
165 | - |
166 | -# Web interface endpoint URI. This setting can be overriden on a per-request basis with the X-Graylog-Server-URL header. |
167 | -# Default: $rest_transport_uri |
168 | -#web_endpoint_uri = |
169 | - |
170 | -# Enable CORS headers for the web interface. This is necessary for JS-clients accessing the server directly. |
171 | -# If these are disabled, modern browsers will not be able to retrieve resources from the server. |
172 | -#web_enable_cors = false |
173 | - |
174 | -# Enable/disable GZIP support for the web interface. This compresses HTTP responses and therefore helps to reduce |
175 | -# overall round trip times. This is enabled by default. Uncomment the next line to disable it. |
176 | -#web_enable_gzip = false |
177 | - |
178 | -# Enable HTTPS support for the web interface. This secures the communication of the web browser with the web interface |
179 | -# using TLS to prevent request forgery and eavesdropping. |
180 | -# This is disabled by default. Uncomment the next line to enable it and see the other related configuration settings. |
181 | -#web_enable_tls = true |
182 | - |
183 | -# The X.509 certificate chain file in PEM format to use for securing the web interface. |
184 | -#web_tls_cert_file = /path/to/graylog-web.crt |
185 | - |
186 | -# The PKCS#8 private key file in PEM format to use for securing the web interface. |
187 | -#web_tls_key_file = /path/to/graylog-web.key |
188 | - |
189 | -# The password to unlock the private key used for securing the web interface. |
190 | -#web_tls_key_password = secret |
191 | - |
192 | -# The maximum size of the HTTP request headers in bytes. |
193 | -#web_max_header_size = 8192 |
194 | - |
195 | -# The maximal length of the initial HTTP/1.1 line in bytes. |
196 | -#web_max_initial_line_length = 4096 |
197 | - |
198 | -# The size of the thread pool used exclusively for serving the web interface. |
199 | -#web_thread_pool_size = 16 |
200 | - |
201 | # List of Elasticsearch hosts Graylog should connect to. |
202 | # Need to be specified as a comma-separated list of valid URIs for the http ports of your elasticsearch nodes. |
203 | # If one or more of your elasticsearch hosts require authentication, include the credentials in each node URI that |
204 | @@ -242,6 +250,9 @@ web_listen_uri = http://127.0.0.1:9000/ |
205 | # |
206 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
207 | # to your previous 1.x settings so they will be migrated to the database! |
208 | +# This configuration setting is only used on the first start of Graylog. After that, |
209 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
210 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
211 | rotation_strategy = count |
212 | |
213 | # (Approximate) maximum number of documents in an Elasticsearch index before a new index |
214 | @@ -250,6 +261,9 @@ rotation_strategy = count |
215 | # |
216 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
217 | # to your previous 1.x settings so they will be migrated to the database! |
218 | +# This configuration setting is only used on the first start of Graylog. After that, |
219 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
220 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
221 | elasticsearch_max_docs_per_index = 20000000 |
222 | |
223 | # (Approximate) maximum size in bytes per Elasticsearch index on disk before a new index is being created, also see |
224 | @@ -258,6 +272,9 @@ elasticsearch_max_docs_per_index = 20000000 |
225 | # |
226 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
227 | # to your previous 1.x settings so they will be migrated to the database! |
228 | +# This configuration setting is only used on the first start of Graylog. After that, |
229 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
230 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
231 | #elasticsearch_max_size_per_index = 1073741824 |
232 | |
233 | # (Approximate) maximum time before a new Elasticsearch index is being created, also see |
234 | @@ -273,6 +290,9 @@ elasticsearch_max_docs_per_index = 20000000 |
235 | # |
236 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
237 | # to your previous 1.x settings so they will be migrated to the database! |
238 | +# This configuration setting is only used on the first start of Graylog. After that, |
239 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
240 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
241 | #elasticsearch_max_time_per_index = 1d |
242 | |
243 | # Disable checking the version of Elasticsearch for being compatible with this Graylog release. |
244 | @@ -286,6 +306,9 @@ elasticsearch_max_docs_per_index = 20000000 |
245 | # |
246 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
247 | # to your previous 1.x settings so they will be migrated to the database! |
248 | +# This configuration setting is only used on the first start of Graylog. After that, |
249 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
250 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
251 | elasticsearch_max_number_of_indices = 20 |
252 | |
253 | # Decide what happens with the oldest indices when the maximum number of indices is reached. |
254 | @@ -295,11 +318,17 @@ elasticsearch_max_number_of_indices = 20 |
255 | # |
256 | # ATTENTION: These settings have been moved to the database in 2.0. When you upgrade, make sure to set these |
257 | # to your previous 1.x settings so they will be migrated to the database! |
258 | +# This configuration setting is only used on the first start of Graylog. After that, |
259 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
260 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
261 | retention_strategy = delete |
262 | |
263 | # How many Elasticsearch shards and replicas should be used per index? Note that this only applies to newly created indices. |
264 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
265 | # to your previous settings so they will be migrated to the database! |
266 | +# This configuration setting is only used on the first start of Graylog. After that, |
267 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
268 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
269 | elasticsearch_shards = 4 |
270 | elasticsearch_replicas = 0 |
271 | |
272 | @@ -307,6 +336,9 @@ elasticsearch_replicas = 0 |
273 | # |
274 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
275 | # to your previous settings so they will be migrated to the database! |
276 | +# This configuration setting is only used on the first start of Graylog. After that, |
277 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
278 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
279 | elasticsearch_index_prefix = graylog |
280 | |
281 | # Name of the Elasticsearch index template used by Graylog to apply the mandatory index mapping. |
282 | @@ -314,6 +346,9 @@ elasticsearch_index_prefix = graylog |
283 | # |
284 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
285 | # to your previous settings so they will be migrated to the database! |
286 | +# This configuration setting is only used on the first start of Graylog. After that, |
287 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
288 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
289 | #elasticsearch_template_name = graylog-internal |
290 | |
291 | # Do you want to allow searches with leading wildcards? This can be extremely resource hungry and should only |
292 | @@ -331,6 +366,9 @@ allow_highlighting = false |
293 | # |
294 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
295 | # to your previous settings so they will be migrated to the database! |
296 | +# This configuration setting is only used on the first start of Graylog. After that, |
297 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
298 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
299 | elasticsearch_analyzer = standard |
300 | |
301 | # Global request timeout for Elasticsearch requests (e. g. during search, index creation, or index time-range |
302 | @@ -352,6 +390,11 @@ elasticsearch_analyzer = standard |
303 | # Default: 1h |
304 | #index_ranges_cleanup_interval = 1h |
305 | |
306 | +# Time interval for the job that runs index field type maintenance tasks like cleaning up stale entries. This doesn't |
307 | +# need to run very often. |
308 | +# Default: 1h |
309 | +#index_field_type_periodical_interval = 1h |
310 | + |
311 | # Batch size for the Elasticsearch output. This is the maximum (!) number of messages the Elasticsearch output |
312 | # module will get at once and write to Elasticsearch in a batch call. If the configured batch size has not been |
313 | # reached within output_flush_interval seconds, everything that is available will be flushed at once. Remember |
314 | @@ -375,8 +418,20 @@ output_fault_penalty_seconds = 30 |
315 | processbuffer_processors = 5 |
316 | outputbuffer_processors = 3 |
317 | |
318 | +# The following settings (outputbuffer_processor_*) configure the thread pools backing each output buffer processor. |
319 | +# See https://docs.oracle.com/javase/8/docs/api/java/util/concurrent/ThreadPoolExecutor.html for technical details |
320 | + |
321 | +# When the number of threads is greater than the core (see outputbuffer_processor_threads_core_pool_size), |
322 | +# this is the maximum time in milliseconds that excess idle threads will wait for new tasks before terminating. |
323 | +# Default: 5000 |
324 | #outputbuffer_processor_keep_alive_time = 5000 |
325 | + |
326 | +# The number of threads to keep in the pool, even if they are idle, unless allowCoreThreadTimeOut is set |
327 | +# Default: 3 |
328 | #outputbuffer_processor_threads_core_pool_size = 3 |
329 | + |
330 | +# The maximum number of threads to allow in the pool |
331 | +# Default: 30 |
332 | #outputbuffer_processor_threads_max_pool_size = 30 |
333 | |
334 | # UDP receive buffer size for all message inputs (e. g. SyslogUDPInput). |
335 | @@ -469,6 +524,7 @@ lb_recognition_period_seconds = 3 |
336 | mongodb_uri = mongodb://localhost/graylog |
337 | |
338 | # Authenticate against the MongoDB server |
339 | +# '+'-signs in the username or password need to be replaced by '%2B' |
340 | #mongodb_uri = mongodb://grayloguser:secret@localhost:27017/graylog |
341 | |
342 | # Use a replica set instead of a single host |
343 | @@ -484,22 +540,30 @@ mongodb_max_connections = 1000 |
344 | # http://api.mongodb.com/java/current/com/mongodb/MongoOptions.html#threadsAllowedToBlockForConnectionMultiplier |
345 | mongodb_threads_allowed_to_block_multiplier = 5 |
346 | |
347 | -# Drools Rule File (Use to rewrite incoming log messages) |
348 | -# See: http://docs.graylog.org/en/2.1/pages/drools.html |
349 | -#rules_file = /etc/graylog/server/rules.drl |
350 | |
351 | # Email transport |
352 | #transport_email_enabled = false |
353 | #transport_email_hostname = mail.example.com |
354 | #transport_email_port = 587 |
355 | #transport_email_use_auth = true |
356 | -#transport_email_use_tls = true |
357 | -#transport_email_use_ssl = true |
358 | #transport_email_auth_username = you@example.com |
359 | #transport_email_auth_password = secret |
360 | #transport_email_subject_prefix = [graylog] |
361 | #transport_email_from_email = graylog@example.com |
362 | |
363 | +# Encryption settings |
364 | +# |
365 | +# ATTENTION: |
366 | +# Using SMTP with STARTTLS *and* SMTPS at the same time is *not* possible. |
367 | + |
368 | +# Use SMTP with STARTTLS, see https://en.wikipedia.org/wiki/Opportunistic_TLS |
369 | +#transport_email_use_tls = true |
370 | + |
371 | +# Use SMTP over SSL (SMTPS), see https://en.wikipedia.org/wiki/SMTPS |
372 | +# This is deprecated on most SMTP services! |
373 | +#transport_email_use_ssl = true |
374 | + |
375 | + |
376 | # Specify and uncomment this if you want to include links to the stream in your stream alert mails. |
377 | # This should define the fully qualified base url to your web interface exactly the same way as it is accessed by your users. |
378 | #transport_email_web_interface_url = https://graylog.example.com |
379 | @@ -520,14 +584,30 @@ mongodb_threads_allowed_to_block_multiplier = 5 |
380 | #http_write_timeout = 10s |
381 | |
382 | # HTTP proxy for outgoing HTTP connections |
383 | +# ATTENTION: If you configure a proxy, make sure to also configure the "http_non_proxy_hosts" option so internal |
384 | +# HTTP connections with other nodes does not go through the proxy. |
385 | +# Examples: |
386 | +# - http://proxy.example.com:8123 |
387 | +# - http://username:password@proxy.example.com:8123 |
388 | #http_proxy_uri = |
389 | |
390 | +# A list of hosts that should be reached directly, bypassing the configured proxy server. |
391 | +# This is a list of patterns separated by ",". The patterns may start or end with a "*" for wildcards. |
392 | +# Any host matching one of these patterns will be reached through a direct connection instead of through a proxy. |
393 | +# Examples: |
394 | +# - localhost,127.0.0.1 |
395 | +# - 10.0.*,*.example.com |
396 | +#http_non_proxy_hosts = |
397 | + |
398 | # Disable the optimization of Elasticsearch indices after index cycling. This may take some load from Elasticsearch |
399 | # on heavily used systems with large indices, but it will decrease search performance. The default is to optimize |
400 | # cycled indices. |
401 | # |
402 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
403 | # to your previous settings so they will be migrated to the database! |
404 | +# This configuration setting is only used on the first start of Graylog. After that, |
405 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
406 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
407 | #disable_index_optimization = true |
408 | |
409 | # Optimize the index down to <= index_optimization_max_num_segments. A higher number may take some load from Elasticsearch |
410 | @@ -535,6 +615,9 @@ mongodb_threads_allowed_to_block_multiplier = 5 |
411 | # |
412 | # ATTENTION: These settings have been moved to the database in Graylog 2.2.0. When you upgrade, make sure to set these |
413 | # to your previous settings so they will be migrated to the database! |
414 | +# This configuration setting is only used on the first start of Graylog. After that, |
415 | +# index related settings can be changed in the Graylog web interface on the 'System / Indices' page. |
416 | +# Also see http://docs.graylog.org/en/2.3/pages/configuration/index_model.html#index-set-configuration. |
417 | #index_optimization_max_num_segments = 1 |
418 | |
419 | # The threshold of the garbage collection runs. If GC runs take longer than this threshold, a system notification |
420 | @@ -550,18 +633,7 @@ mongodb_threads_allowed_to_block_multiplier = 5 |
421 | # The default cache time for dashboard widgets. (Default: 10 seconds, minimum: 1 second) |
422 | #dashboard_widget_default_cache_time = 10s |
423 | |
424 | -# Automatically load content packs in "content_packs_dir" on the first start of Graylog. |
425 | -#content_packs_loader_enabled = true |
426 | - |
427 | -# The directory which contains content packs which should be loaded on the first start of Graylog. |
428 | -content_packs_dir = /snap/graylog/current/usr/share/graylog-server/contentpacks |
429 | - |
430 | -# A comma-separated list of content packs (files in "content_packs_dir") which should be applied on |
431 | -# the first start of Graylog. |
432 | -# Default: empty |
433 | -content_packs_auto_load = grok-patterns.json |
434 | - |
435 | # For some cluster-related REST requests, the node must query all other nodes in the cluster. This is the maximum number |
436 | # of threads available for this. Increase it, if '/cluster/*' requests take long to complete. |
437 | -# Should be rest_thread_pool_size * average_cluster_size if you have a high number of concurrent users. |
438 | +# Should be http_thread_pool_size * average_cluster_size if you have a high number of concurrent users. |
439 | proxied_requests_thread_pool_size = 32 |
440 | diff --git a/snapcraft.yaml b/snapcraft.yaml |
441 | index 23a5b23..f46a0af 100644 |
442 | --- a/snapcraft.yaml |
443 | +++ b/snapcraft.yaml |
444 | @@ -1,5 +1,5 @@ |
445 | name: graylog |
446 | -version: 2.5.1 |
447 | +version: 3.0.1 |
448 | summary: Graylog server snap, https://www.graylog.org/ |
449 | description: | |
450 | Graylog is a full-featured log management system allowing for centralized |
451 | @@ -25,8 +25,8 @@ parts: |
452 | graylog-repository: |
453 | plugin: nil |
454 | build: | |
455 | - wget https://packages.graylog2.org/repo/packages/graylog-2.5-repository_latest.deb |
456 | - dpkg -i graylog-2.5-repository_latest.deb |
457 | + wget https://packages.graylog2.org/repo/packages/graylog-3.0-repository_latest.deb |
458 | + dpkg -i graylog-3.0-repository_latest.deb |
459 | apt update |
460 | build-packages: |
461 | - wget |
This merge proposal is being monitored by mergebot. Change the status to Approved to merge.