Before you post: Your responses to these questions will help the community help you. Please complete this template if you’re asking a support question.
Don’t forget to select tags to help index your topic!
1. Describe your incident:
Hello! I am looking to change the log location to another drive on my server.
I have mounted an additional HDD (/mnt/sdb)
2. Describe your environment:
-
OS Information: Ubuntu 24.02
-
Package Version: 6.1
-
Service logs, configurations, and environment variables:
I followed these steps to install Graylog, Graylog Data Node and MongoDB.
Ubuntu Installation: Single Graylog Node
3. What steps have you already taken to try and solve the problem?
I went to /etc/graylog/server/log4j2.xml and modified the storage location and copied over the files but graylog does not run properly when I do this.
changed /var/log/graylog-server/server.log > /mnt/sdb/log/graylog-server/server.log
4. How can the community help?
Please let me change where logs or bulk of graylog information is saved to a secondary drive.
Thank you!