# Location of Roles, Users, and Streams

**URL:** <https://community.graylog.org/t/location-of-roles-users-and-streams/3464>\
**Category:** Graylog Central (peer support)\
**Created:** [December 12, 2017, 2:14pm UTC](https://community.graylog.org/t/location-of-roles-users-and-streams/3464 "2017-12-12T14:14:06Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![atewari](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@atewari](https://community.graylog.org/u/atewari)\
**Post date:** [December 12, 2017, 2:14pm UTC](https://community.graylog.org/t/location-of-roles-users-and-streams/3464/1 "2017-12-12T14:14:06Z")

</div>

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](http://docker.elastic.co/elasticsearch/elasticsearch:5.5.1)

Thanks!

---

<div class="post-metadata">

**Author:** ![atewari](https://avatars.discourse-cdn.com/v4/letter/a/54ee81/32.png) [@atewari](https://community.graylog.org/u/atewari)\
**Post date:** [December 12, 2017, 2:57pm UTC](https://community.graylog.org/t/location-of-roles-users-and-streams/3464/2 "2017-12-12T14:57:22Z")

</div>

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!

---

<div class="post-metadata">

**Author:** ![jochen](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jochen/32/8_2.png) [@jochen](https://community.graylog.org/u/jochen)\
**Post date:** [December 12, 2017, 3:02pm UTC](https://community.graylog.org/t/location-of-roles-users-and-streams/3464/3 "2017-12-12T15:02:33Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/flex016/uploads/graylog/original/3X/c/7/c7c09c6b5099570133d6502b83f50ba4430de5b6.png) [@system](https://community.graylog.org/u/system)\
**Post date:** [December 26, 2017, 3:02pm UTC](https://community.graylog.org/t/location-of-roles-users-and-streams/3464/4 "2017-12-26T15:02:35Z")

</div>

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