Delete indexer failures


(alban) #1

Hi,

How can i delete this information on my graylog ?
image

regards


(Jochen) #2

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/


(alban) #3

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()
[ ]


(Jochen) #4

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


(alban) #5

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


(system) #6

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