# Divide how logs are stored

**URL:** <https://community.graylog.org/t/divide-how-logs-are-stored/12062>\
**Category:** Graylog Central (peer support)\
**Created:** [September 23, 2019, 8:18am UTC](https://community.graylog.org/t/divide-how-logs-are-stored/12062 "2019-09-23T08:18:13Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![oshri1091](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/oshri1091/32/4963_2.png) [@oshri1091](https://community.graylog.org/u/oshri1091)\
**Post date:** [September 23, 2019, 8:18am UTC](https://community.graylog.org/t/divide-how-logs-are-stored/12062/1 "2019-09-23T08:18:13Z")

</div>

Hi.  
I would like to divide logs.  
For example, for one INPUT to make storage for one month, and for INPUT two to make storage for one year. I tried using a new INDEX setting but couldn’t find the solution.

Thanks for the helpers.

---

<div class="post-metadata">

**Author:** ![jan](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/jan/32/11_2.png) [@jan](https://community.graylog.org/u/jan)\
**Post date:** [September 23, 2019, 8:38am UTC](https://community.graylog.org/t/divide-how-logs-are-stored/12062/2 "2019-09-23T08:38:02Z")

</div>

use different index sets for your different streams:

[https://docs.graylog.org/en/3.1/pages/streams.html#index-sets](https://docs.graylog.org/en/3.1/pages/streams.html#index-sets)

---

<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:** [October 7, 2019, 8:38am UTC](https://community.graylog.org/t/divide-how-logs-are-stored/12062/3 "2019-10-07T08:38:03Z")

</div>

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