Pārlūkot izejas kodu

graylog: Update to 4.3

Graylog needs to initialize a message journal on startup. If the disk
does not contain enough space for the set amount (default 5gb), the
startup will fail. Therefore we set it to 1gb, which should be enough
for our needs for now.
Philipp Fromme 1 gadu atpakaļ
vecāks
revīzija
dcca70a465
2 mainītis faili ar 2 papildinājumiem un 2 dzēšanām
  1. 1 1
      graylog/init.sls
  2. 1 1
      graylog/server.conf.tmpl

+ 1 - 1
graylog/init.sls

@@ -12,7 +12,7 @@ graylog-repo:
 # add Graylog Repo
   pkgrepo.managed:
     - humanname: Graylog Repo
-    - name: deb https://packages.graylog2.org/repo/debian/ stable 4.2
+    - name: deb https://packages.graylog2.org/repo/debian/ stable 4.3
     - file: /etc/apt/sources.list.d/graylog.list
     - key_url: https://packages.graylog2.org/repo/debian/keyring.gpg
 

+ 1 - 1
graylog/server.conf.tmpl

@@ -487,7 +487,7 @@ message_journal_dir = /var/lib/graylog-server/journal
 # For a maximum of 12 hours or 5 GB whichever happens first.
 # During normal operation the journal will be smaller.
 #message_journal_max_age = 12h
-#message_journal_max_size = 5gb
+message_journal_max_size = 1gb
 
 #message_journal_flush_age = 1m
 #message_journal_flush_interval = 1000000