Hi,
How can i delete this information on my graylog ?
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
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.