Hello,
I’ve got index creation, rotation and deletion issue after upgrading my Graylog, Mongodb and Elasticsearch to work on v5.
1. Describe your incident:
Graylog index rotation didn’t work after Graylog upgrade.
Graylog just puts everything in the last indice before upgrade.
Index has reach it’s limits and I have no logs anymore : Number of documents in the index can't exceed ...
.
When I try a rotation, I’ve got simply these types of logs from Elasticsearch : [...] adding template [linux_year_template] for index patterns [linux_year_*] [...]
.
2. Describe your environment:
OS Information:
This is a cluster with 3 Elasticsearches nodes and 3 Graylog nodes.
Elasticsearch and Mongod are on Ubuntu 20.04.2 LTS physical servers
Graylog are on Debian 11 VM
All servers are in the same subnet.
-
Package Version:
Graylog : 5.0.7-1
Mongod : 6.0.6
Elasticsearch : 7.10.2 -
Service logs, configurations, and environment variables:
Graylog :
index [linux_year_48], type [_doc], id [], message [ElasticsearchException[Elasticsearch exception [type=illegal_argument_exception, reason=Number of documents in the index can't exceed [2147483519]
Elasticsearch when I try to rotate index :
{"type": "server", "timestamp": "", "level": "INFO", "component": "o.e.c.m.MetadataIndexTemplateService", "cluster.name": "", "node.name": "", "message": "adding template [linux_year-template] for index patterns [linux_year_*]", "cluster.uuid": "", "node.id": "" }
3. What steps have you already taken to try and solve the problem?
I’ve tried to rotate index on Graylog
I’ve tried to create a new index set but it’s not working
I’ve tried to rotate index through Elasticseatch CLI but I didn’t find out how to do
4. How can the community help?
I’m searching to fix this issue, I need index rotation, creation and deletion to work.
Can you help me for that case please ?
Best regards.