Hi Kevin,

you can remove the metadata for the indices "graylog2_116" and 
"graylog2_130" with the following command in the MongoDB Shell (mongo 
<https://docs.mongodb.org/getting-started/shell/client/>):

> db.index_ranges.remove({"index_name": "graylog2_116"})
> db.index_ranges.remove({"index_name": "graylog2_130"})


Make sure to use the correct database (probably "graylog2", check the 
mongodb_uri 
<https://github.com/Graylog2/graylog2-server/blob/1.3.2/misc/graylog2.conf#L320-L322>
 
setting in your Graylog configuration file) before running those queries.


Cheers,
Jochen

On Thursday, 31 December 2015 23:43:55 UTC+1, Kevin Woodruff wrote:
>
> We're using version 1.2.2. Could you point me in the right direction for 
> this delete query? I've written plenty of SQL but this is a bit different.
>
> Appreciate all of the help.
>
>      Kevin
>
> On Tuesday, December 29, 2015 at 2:37:43 PM UTC-8, Kevin Woodruff wrote:
>>
>> We've had graylog running for a year or so and have done many upgrades. 
>> At this time it appears that I have two ghost indices which are from some 
>> time ago. When I click Load Details/Action I get " Index information is 
>> not available at the moment, please try again later." . How can I remove 
>> these indices? Thanks in advance!
>>
>>      Kevin
>>
>>
>>

-- 
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/c5ae062f-462f-42e7-ab14-afe737ef0fa0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to