# How to create index

**URL:** <https://community.graylog.org/t/how-to-create-index/23230>\
**Category:** Graylog Central (peer support)\
**Created:** [March 28, 2022, 7:09am UTC](https://community.graylog.org/t/how-to-create-index/23230 "2022-03-28T07:09:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sharzad](https://avatars.discourse-cdn.com/v4/letter/s/35a633/32.png) [@Sharzad](https://community.graylog.org/u/Sharzad)\
**Post date:** [March 28, 2022, 7:09am UTC](https://community.graylog.org/t/how-to-create-index/23230/1 "2022-03-28T07:09:52Z")

</div>

I have graylog 4 on ubuntu 20.04.  
I read log from each server via filebet on graylog.  
is it possible to create index set for each server?

---

<div class="post-metadata">

**Author:** ![tmacgbay](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/tmacgbay/32/3878_2.png) [@tmacgbay](https://community.graylog.org/u/tmacgbay)\
**Post date:** [March 28, 2022, 1:34pm UTC](https://community.graylog.org/t/how-to-create-index/23230/2 "2022-03-28T13:34:05Z")

</div>

Yes you could create and index set for each server but it would be inefficient. It would be equivalent to creating a separate database for each customer. It is better to orient your indexes around what you are storing in them and specifically how long to keep that data. More on [Graylog and Elasticsearch here.](https://docs.graylog.org/docs/elasticsearch)

---

<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:** [April 11, 2022, 1:35pm UTC](https://community.graylog.org/t/how-to-create-index/23230/3 "2022-04-11T13:35:04Z")

</div>

Closed on April 11, 2022, 1:35pm UTC

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