Location of Roles, Users, and Streams

Hello Team,
I am using the docker version of GrayLog. I want to make sure I have the host volume mounted to the correct location where GrayLog data is stored so data is persisted between rebuilding docker containers. What is the directory path where anything is created in GrayLog, e.g., roles, users, user profile, streams, saved searches, etc?

For Elastic Search, I used these volumes for persisting data on hosts :

docker run --name elasticsearch
-e “http.host=” -e “xpack.security.enabled=false”
-v /home/centos/elasticsearch/scripts:/usr/share/elasticsearch/config/scripts
-v /home/centos/elasticsearch/data:/usr/share/elasticsearch/data
-d docker.elastic.co/elasticsearch/elasticsearch:5.5.1


After inspecting the docker containers, I believe these are volumes I need to mount on host:

  • For mongodb, mount container:/data
  • For graylog, mount container:/usr/share/graylog/data

Can someone please confirm?



1 Like

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.