# Error rotating index set

**URL:** <https://community.graylog.org/t/error-rotating-index-set/37763>\
**Category:** Graylog Central (peer support)\
**Created:** [November 4, 2026, 9:13am UTC](https://community.graylog.org/t/error-rotating-index-set/37763 "2026-11-04T09:13:04Z")\
**Posts on this page:** 10\
**Page:** 1

<div class="post-metadata">

**Author:** ![schurd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/schurd/32/1068_2.png) [@schurd](https://community.graylog.org/u/schurd)\
**Post date:** [November 4, 2026, 9:13am UTC](https://community.graylog.org/t/error-rotating-index-set/37763/1 "2026-11-04T09:13:05Z")

</div>

Hello,

in Graylog (7.1.11, test environment) in get always the error:

> **Error rotating index set**
> 
> **(triggered 18 hours ago)**
> 
> Could not create new target index \<gl-collector-system-logs\_0\>.

As backend Graylog datanode 7.1.11 is running.

If i Check the Graylog server.log I see this:

```auto
2026-11-04T10:09:34.151+01:00 WARN [Indices] Couldn't create index gl-collector-system-logs_0. Error: No index template provider found for type 'colle
ctor_logs'
java.lang.IllegalStateException: No index template provider found for type 'collector_logs'

2026-11-04T10:09:34.152+01:00 ERROR [IndexRotationThread] Couldn't point deflector to a new index
java.lang.RuntimeException: Could not create new target index <gl-collector-system-logs_0>.

```

How can I fix this?

Thanks in advance,

Dietmar

---

<div class="post-metadata">

**Author:** ![bernd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bernd/32/5_2.png) [@bernd](https://community.graylog.org/u/bernd)\
**Post date:** [November 6, 2026, 1:03pm UTC](https://community.graylog.org/t/error-rotating-index-set/37763/3 "2026-11-06T13:03:45Z")

</div>

A quick workaround is to enable the `collectors` feature flag. It was enabled by default from 7.1.0 to 7.1.3 and was disabled in 7.1.4. You likely changed the Collectors configuration while running an earlier version. That triggered the creation of the index set.

To enable the feature flag, you either set the `GRAYLOG_FEATURE_COLLECTORS=on` environment variable or the system property `-Dgraylog.feature.collectors=on`.

We will add a fix in the next 7.1.x release to avoid this issue.

One odd thing: the rotation tries to create index number `0`. Did you delete all indices in your Data Node OpenSearch by any chance?

---

<div class="post-metadata">

**Author:** ![schurd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/schurd/32/1068_2.png) [@schurd](https://community.graylog.org/u/schurd)\
**Post date:** [November 9, 2026, 10:22am UTC](https://community.graylog.org/t/error-rotating-index-set/37763/4 "2026-11-09T10:22:04Z")

</div>

Hello Bernd,

yes, I think unfortunately I deleted some (too many) indexes, when I had some other problems.

Since this is a test environment this is not a problem.

I will try the solution,

Regards,

Dietmar Schurr

---

<div class="post-metadata">

**Author:** ![bernd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bernd/32/5_2.png) [@bernd](https://community.graylog.org/u/bernd)\
**Post date:** [November 9, 2026, 10:39am UTC](https://community.graylog.org/t/error-rotating-index-set/37763/5 "2026-11-09T10:39:35Z")

</div>

Thanks for the feedback! That explains it. 😃

---

<div class="post-metadata">

**Author:** ![schurd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/schurd/32/1068_2.png) [@schurd](https://community.graylog.org/u/schurd)\
**Post date:** [November 9, 2026, 10:52am UTC](https://community.graylog.org/t/error-rotating-index-set/37763/6 "2026-11-09T10:52:57Z")

</div>

Hello Bernd,

I get the same error again!

I added this line and the end of /etc/graylog/server/server.conf

GRAYLOG\_FEATURE\_COLLECTORS=on

and restarted the Graylog server (both nodes).

Then I deleted the error and tried to rotate the index set: Collector System Logs.

Then the error popped up again.

What can I do?

Thanks in advance,

Dietmar

---

<div class="post-metadata">

**Author:** ![bernd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/bernd/32/5_2.png) [@bernd](https://community.graylog.org/u/bernd)\
**Post date:** [November 9, 2026, 11:13am UTC](https://community.graylog.org/t/error-rotating-index-set/37763/7 "2026-11-09T11:13:35Z")

</div>

The `GRAYLOG_FEATURE_COLLECTORS` is an environment variable, not a Graylog config setting. Depending on your setup, you have to set it accordingly.

- `/etc/default/graylog-server` on Debian-based Linux
- `/etc/sysconfig/graylog-server` on RedHat-based Linux
- As environment variable in Docker or Docker Compose

---

<div class="post-metadata">

**Author:** ![schurd](https://sea2.discourse-cdn.com/flex016/user_avatar/community.graylog.org/schurd/32/1068_2.png) [@schurd](https://community.graylog.org/u/schurd)\
**Post date:** [November 9, 2026, 12:28pm UTC](https://community.graylog.org/t/error-rotating-index-set/37763/8 "2026-11-09T12:28:32Z")

</div>

Hello Bernd,

thanks for the help. I reverted the change in server.conf and added the line in

_/usr/lib/systemd/system/graylog-server.service.d/graylog-server\_override.conf_

since I realized, that changes in the sysconfig directory sometimes don’t work.

After the change in the _graylog-server\_override.conf_ I restarted both nodes.

Now I works!!

I can rotate the index manually without problem, how it is supposed to be!

Thank you very much for your help.

Dietmar Schurr

---

<div class="post-metadata">

**Author:** ![rachelwilson](https://avatars.discourse-cdn.com/v4/letter/r/8edcca/32.png) [@rachelwilson](https://community.graylog.org/u/rachelwilson)\
**Post date:** [November 12, 2026, 5:02pm UTC](https://community.graylog.org/t/error-rotating-index-set/37763/9 "2026-11-12T17:02:55Z")

</div>

that error is about the index set type, not the rotation itself. worth checking what type collector-system-logs is listed as under System \> Indices before touching rotation settings.

---

<div class="post-metadata">

**Author:** ![4uvpn](https://avatars.discourse-cdn.com/v4/letter/4/4bbf92/32.png) [@4uvpn](https://community.graylog.org/u/4uvpn)\
**Post date:** [November 12, 2026, 7:22pm UTC](https://community.graylog.org/t/error-rotating-index-set/37763/10 "2026-11-12T19:22:09Z")

</div>

Index rotation errors usually mean OpenSearch and Graylog disagree about who owns the next number. I’d check the index set’s write alias before rebuilding anything heroic.

---

<div class="post-metadata">

**Author:** ![olindalipsius8106](https://avatars.discourse-cdn.com/v4/letter/o/ba9def/32.png) [@olindalipsius8106](https://community.graylog.org/u/olindalipsius8106)\
**Post date:** [November 22, 2026, 9:57pm UTC](https://community.graylog.org/t/error-rotating-index-set/37763/11 "2026-11-22T21:57:19Z")

</div>

Just to keep this straight for anyone finding it later: the fix was enabling the Collectors feature flag, so the `collector_logs` index template provider gets registered. Setting `GRAYLOG_FEATURE_COLLECTORS=on` in `server.conf` does nothing, since it’s an environment variable — the systemd drop-in (`graylog-server_override.conf`) with `Environment=GRAYLOG_FEATURE_COLLECTORS=on`, then restarting, is what worked. The index set type and write alias were never the problem here, so no need to go rebuilding aliases for this particular error.
