Recalculate index ranges manually

(Kieulam141) #1

Hello guys,
I took a snapshot for 1 index, then I restored it successfully.But when I can not search message in the index-which was restored.
I added my screenshot later.
How can I recalculate index ranges manually?

(Jochen) #2

System / Indices / Index Set / Maintenance.

(Kieulam141) #3

I click on “Recalculte index ranges” button with the index which I want to,but i got this error.

(Kieulam141) #5

And I found thí error

There was an error fetching a resource: cannot POST xxx/api/system/indices/ranges/graylog_347_restored/rebuild (400). Additional information: graylog_347_restored is not a Graylog-managed Elasticsearch index.

(Jan Doberstein) #6

and what is the question left?

The error just write it clear. graylog_347_restored is not a Graylog-managed Elasticsearch index.

(Kieulam141) #7

So, how can I let Graylog can manage this restored index?

(Jochen) #8

Use an index name which has the prefix of one of your index sets and only a number as suffix (e. g. graylog_347).

(Kieulam141) #9

It work.I didn’t rename the index when restore then graylog can manage this restored index.
Thanks so much !!!

(system) closed #10

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