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=0.0.0.0” -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

Thanks!

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?

Thanks!

http://docs.graylog.org/en/2.3/pages/installation/docker.html#persisting-data

1 Like

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