Hi Wells,
what's the content of the cluster_config collection in MongoDB and
specifically the document with "type" ==
"org.graylog2.indexer.management.IndexManagementConfig"?
Example:
$ mongo graylog
MongoDB shell version v3.4.0
connecting to: mongodb://127.0.0.1:27017/graylog
MongoDB server version: 3.4.0
> db.cluster_config.find({"type":
"org.graylog2.indexer.management.IndexManagementConfig"}).pretty()
{
"_id" : ObjectId("566ff2a6d792d5a5bf0b3860"),
"type" : "org.graylog2.indexer.management.IndexManagementConfig",
"payload" : {
"rotation_strategy" :
"org.graylog2.indexer.rotation.strategies.TimeBasedRotationStrategy",
"retention_strategy" :
"org.graylog2.indexer.retention.strategies.DeletionRetentionStrategy"
},
"last_updated" : "2016-02-16T13:30:39.325Z",
"last_updated_by" : "cd03ee44-b2a7-4824-be16-bb7456149dbd"
}
Also check the documents with "type" == $rotation_strategy
("org.graylog2.indexer.rotation.strategies.TimeBasedRotationStrategy" in
this example) and $retention_strategy
("org.graylog2.indexer.retention.strategies.DeletionRetentionStrategy" in
this example).
Cheers,
Jochen
On Monday, 9 January 2017 19:05:18 UTC+1, [email protected] wrote:
>
> My graylog instance gave an error message suddenly a few days ago:
> No index management configuration found, not running index rotation!
> Please fix your index rotation configuration!
>
> Going to the system/indices page on the web ui, this error appeared twice:
> Could not retrieve retention config
> Fetching retention config failed: Error: cannot GET http://<server ip
> address>:9000/api/system/indices/retention/config
> <http://54.173.34.148:9000/api/system/indices/retention/config> (500)
>
> When I tried to check/update the index rotation strategy with the "update
> configuration" button, it just left me with spinners, never loading any
> config. I then tried to find index rotation config files on the server:
>
> - /system/indices/rotation/config
> - /system/indices/retention/config
>
> But neither of those paths exist. I seem to have lost all inputs, streams,
> dashboards etc. What happened here? What can I do?
>
> I am using graylog version 2.1, using the AWS VM setup with two nodes.
>
> Any help would be greatly appreciated.
>
> Best,
> Wells
>
--
You received this message because you are subscribed to the Google Groups
"Graylog Users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/graylog2/c95806ca-1c9b-4f8f-9d55-e2d1c1cbf592%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.