Location of Roles, Users, and Streams


(AT@Austin) #1

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!


(AT@Austin) #2

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!


(Jochen) #3

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


(system) #4

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