Browse Source

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 2 years ago
parent
commit
dcca70a465
2 changed files with 2 additions and 2 deletions
  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
 # add Graylog Repo
   pkgrepo.managed:
   pkgrepo.managed:
     - humanname: Graylog Repo
     - 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
     - file: /etc/apt/sources.list.d/graylog.list
     - key_url: https://packages.graylog2.org/repo/debian/keyring.gpg
     - 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.
 # For a maximum of 12 hours or 5 GB whichever happens first.
 # During normal operation the journal will be smaller.
 # During normal operation the journal will be smaller.
 #message_journal_max_age = 12h
 #message_journal_max_age = 12h
-#message_journal_max_size = 5gb
+message_journal_max_size = 1gb
 
 
 #message_journal_flush_age = 1m
 #message_journal_flush_age = 1m
 #message_journal_flush_interval = 1000000
 #message_journal_flush_interval = 1000000