I’m running Graylog 2.4.4+4659dbe and have done the recommended steps:
Stop Graylog
Delete the graylog_delector using: curl -X DELETE ‘127.0.0.1:9200/graylog_deflector’
The index is removed but as soon as I start Graylog, the graylog_deflector is recreated:
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open graylog_deflector 5wrUelgMRXWB0N2dBEoaNA 5 1 1274 0 1.7mb 1.7mb
I have the elasticsearch_discovery_enabled set to false in the server.conf
As soon as I start Graylog, the “Deflector exists as an index and is not an alias” error is shown immediately.
I am receiving messages but obviously can’t see them in the stream and can’t search on them.
I added per the instructions outlined but now I can’t find any indexes. Added action.auto_create_index: false
to the server.conf
Now the index is gone but I can’t see any via:
curl ‘localhost:9200/_cat/indices?v’
When I go to maintenance an manual rotate the default index, it just keeps saying “Loading” on the screen.
Now the system is reporting the following errors:
Timestamp
Index
Letter ID
Error message
25 minutes ago
graylog_deflector
6726a4f0-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
670f4c60-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
66f7ccc0-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
66d66210-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
66bebb60-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
66a714b0-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
25 minutes ago
graylog_deflector
668fbc20-61b9-11e8-a671-525400fc8d86
{“type”:“index_not_found_exception”,“reason”:“no such index”,“resource.type”:“index_expression”,“resource.id”:“graylog_deflector”,“index_uuid”:“na”,“index”:“graylog_deflector”}
You can try rotating the write-active index via the Graylog REST API by sending an HTTP POST request to /system/deflector/cycle (for the default index set) or /system/deflector/{indexSetId}/cycle (for any other index set).
Example:
# curl -u admin:password -X POST 'http://graylog.example.com:9000/api/system/deflector/cycle'
When I start sending messages in, the graylog_deflector is recreated. Is this a bug? No matter what steps I try, I can’t seem to get rid of it:
health status index uuid pri rep docs.count docs.deleted store.size pri.store.size
yellow open graylog_deflector ztBlW3AfRbiPTPN6COtPBQ 5 1 42 0 15.3kb 15.3kb