I have upgraded an old-ish graylog instance (3.0.2) running via docker-compose to the newest version I could find that did not require any changes or data migration (3.1.4).
The upgrade itself went fine - I removed the service, removed the old graylog image, pulled the graylog/graylog:3.1.4 image and started the service again.
Everything seems to work fine - however graylog itself displays the version as 3.0.2.
The original 3.0.2 doesn’t exist any on the host so I’m not even sure why its displaying this version.
This all began due to a different issue - where a service that runs once a week and sends ~5K messages per second for about 10-15 seconds wasn’t logged in graylog, I can see the messages incoming into graylog and being processed by the relevant input and stream, however none of the messages are saved (checked timestamps and thats not the issue).
Any help regarding the displayed version issue will be much appreciated.
Following is my compose file:
version: ‘2’
services:
mongodb:
restart: unless-stopped
image: mongo:3
environment:
- TZ=Asia/Jerusalem
volumes:
- mongo_data:/data/db
elasticsearch:
restart: unless-stopped
image: docker.elastic.co/elasticsearch/elasticsearch-oss:6.6.1
volumes:
- es_data:/usr/share/elasticsearch/data
environment:
- TZ=Asia/Jerusalem
- http.host=0.0.0.0
- transport.host=localhost
- network.host=0.0.0.0
- “ES_JAVA_OPTS=-Xms512m -Xmx512m”
ulimits:
memlock:
soft: -1
hard: -1
mem_limit: 1g
graylog:
restart: unless-stopped
image: graylog/graylog:3.1
volumes:
- graylog_journal:/usr/share/graylog
environment:
- TZ=Asia/Jerusalem
- GRAYLOG_PASSWORD_SECRET=
- GRAYLOG_ROOT_PASSWORD_SHA2=
- GRAYLOG_HTTP_EXTERNAL_URI=http://:9000/
links:
- mongodb:mongo
- elasticsearch
depends_on:
- mongodb
- elasticsearch
ports:
# Graylog web interface and REST API
- 9000:9000
# Syslog UDP
- 1514:1514/udp
- 5555:5555/udp
- 5556:5556/udp
volumes:
mongo_data:
driver: local
es_data:
driver: local
graylog_journal:
driver: local