Delete indexer failures

Hi,

How can i delete this information on my graylog ?
image

regards

Check the logs of your Elasticsearch node and make sure, that all primary shards are active.
http://docs.graylog.org/en/2.4/pages/configuration/file_location.html

To delete these items, you’ll have to drop the “index_failures” collection in the MongoDB database.
https://docs.mongodb.com/manual/reference/method/db.collection.drop/

i try but it’s doesn’t work.

db.collection.drop()
false

I’m a beginner on Mongodb so how can i find the name of collection.
I trying with db.getCollectionNames() but i haven’t result

db.getCollectionNames()

Please refer to the excellent MongoDB manual for an introduction and some tutorials how to use it:

Ok for me, i successful to delete index failures.
When we connect to mongo, we need to connect to graylog database
command :
show db
use graylog (your database if different)
show collections
db.index_failures.find() (to find messages)
db.index_failures.drop() (to delete messages)

Refresh graylog interface and after, messages of index failures are delete

4 Likes

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