Error rotating index set

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:

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

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?

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

Thanks for the feedback! That explains it. :smiley:

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

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

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