(can’t add the full text more than 2 links)
RESULTS:
“_cluster/allocation/explain?pretty”:
{
"index" : "dev_0",
"shard" : 3,
"primary" : true,
"current_state" : "unassigned",
"unassigned_info" : {
"reason" : "INDEX_CREATED",
"at" : "2021-04-16T11:33:42.565Z",
"last_allocation_status" : "no"
},
"can_allocate" : "no",
"allocate_explanation" : "cannot allocate because allocation is not permitted to any of the nodes",
"node_allocation_decisions" : [
{
"node_id" : "9p358b3rT6C64VAJJRPZ6w",
"node_name" : "srvlog3",
"transport_address" : "192.168.1.99:9300",
"node_attributes" : {
"box_type" : "warm"
},
"node_decision" : "no",
"weight_ranking" : 1,
"deciders" : [
{
"decider" : "filter",
"decision" : "NO",
"explanation" : "node does not match index setting [index.routing.allocation.require] filters [boxtype:\"hot\"]"
}
]
},
{
"node_id" : "CUpwX683QKyQLsDFGaf8Qw",
"node_name" : "srvlog2",
"transport_address" : "192.168.1.100:9300",
"node_attributes" : {
"box_type" : "hot"
},
"node_decision" : "no",
"weight_ranking" : 2,
"deciders" : [
{
"decider" : "filter",
"decision" : "NO",
"explanation" : "node does not match index setting [index.routing.allocation.require] filters [boxtype:\"hot\"]"
}
]
}
]
}
GRAYLOG logs:
ERROR [IndexRotationThread] Couldn't point deflector to a new index
org.graylog2.indexer.ElasticsearchException: Couldn't read health status for index dev_1
at org.graylog2.indexer.cluster.jest.JestUtils.specificException(JestUtils.java:107) ~[graylog.jar:?]
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:60) ~[graylog.jar:?]
at org.graylog2.indexer.cluster.jest.JestUtils.execute(JestUtils.java:65) ~[graylog.jar:?]
at org.graylog2.indexer.indices.Indices.waitForStatus(Indices.java:689) ~[graylog.jar:?]
at org.graylog2.indexer.indices.Indices.waitForRecovery(Indices.java:680) ~[graylog.jar:?]
at org.graylog2.periodical.IndexRotationThread.checkAndRepair(IndexRotationThread.java:163) ~[graylog.jar:?]
at org.graylog2.periodical.IndexRotationThread.lambda$doRun$0(IndexRotationThread.java:76) ~[graylog.jar:?]
at java.lang.Iterable.forEach(Iterable.java:75) [?:1.8.0_282]
at org.graylog2.periodical.IndexRotationThread.doRun(IndexRotationThread.java:73) [graylog.jar:?]
at org.graylog2.plugin.periodical.Periodical.run(Periodical.java:77) [graylog.jar:?]
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511) [?:1.8.0_282]
at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:308) [?:1.8.0_282]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:180) [?:1.8.0_282]
at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:294) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) [?:1.8.0_282]
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) [?:1.8.0_282]
at java.lang.Thread.run(Thread.java:748) [?:1.8.0_282]
2021-04-19T11:06:42.316+02:00 WARN [IndexRotationThread] Deflector is pointing to [graylog_0], not the newest one: [graylog_1]. Re-pointing.
ELASTICSEARCH logs:
[2021-04-19T11:32:07,999][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:11,989][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:15,996][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:19,863][DEBUG][o.e.a.a.c.a.TransportClusterAllocationExplainAction] [srvlog2] explaining the allocation for [ClusterAllocationExplainRequest[useAnyUnassignedShard=true,includeYesDe
cisions?=false], found shard [[dev_0][3], node[null], [P], recovery_source[new shard recovery], s[UNASSIGNED], unassigned_info[[reason=INDEX_CREATED], at[2021-04-16T11:33:42.565Z], delayed=false, allocation_status[deciders_no]]]
[2021-04-19T11:32:20,013][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:23,992][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:27,992][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:31,990][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
[2021-04-19T11:32:35,994][DEBUG][o.e.a.s.TransportSearchAction] [srvlog2] All shards failed for phase: [query]
template overwritten:
{
"dev-template" : {
"order" : -1,
"index_patterns" : [
"dev_*"
],
"settings" : {
"index" : {
"analysis" : {
"analyzer" : {
"analyzer_keyword" : {
"filter" : "lowercase",
"tokenizer" : "keyword"
}
}
}
}
},
"mappings" : {
"message" : {
"_source" : {
"enabled" : true
},
"dynamic_templates" : [
{
"internal_fields" : {
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string",
"match" : "gl2_*"
}
},
{
"store_generic" : {
"mapping" : {
"type" : "keyword"
},
"match_mapping_type" : "string"
}
}
],
"properties" : {
"gl2_processing_timestamp" : {
"format" : "yyyy-MM-dd HH:mm:ss.SSS",
"type" : "date"
},
"gl2_accounted_message_size" : {
"type" : "long"
},
"gl2_receive_timestamp" : {
"format" : "yyyy-MM-dd HH:mm:ss.SSS",
"type" : "date"
},
"full_message" : {
"fielddata" : false,
"analyzer" : "standard",
"type" : "text"
},
"streams" : {
"type" : "keyword"
},
"source" : {
"fielddata" : true,
"analyzer" : "analyzer_keyword",
"type" : "text"
},
"message" : {
"fielddata" : false,
"analyzer" : "standard",
"type" : "text"
},
"timestamp" : {
"format" : "yyyy-MM-dd HH:mm:ss.SSS",
"type" : "date"
}
}
}
},
"aliases" : { }
}
}
If there is other error log or configuration that I forgot to mention, ask me.
Thank you all