Hallo zusammen,
ich bekomme bei dem Befehl:
bloonix-delete-es-host-data --really-delete
gerade folgenden Output:
~ # bloonix-delete-es-host-data --really-delete
Oct 04 21:41:11 [NOTICE] --- start processing host 1 type stats,event,results ---
Oct 04 21:41:11 [NOTICE] processing 1 with a data retention of 400 days
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-07 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-08 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-09 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-10 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-11 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-12 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-01 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-02 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-03 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-04 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-05 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-06 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-07 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-08 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-09 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-10 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-11 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-12 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-01 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-02 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-03 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-04 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-05 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-06 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-07 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-08 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-09 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-10 for host 1
Oct 04 21:41:12 [NOTICE] found 4192313 documents for host 1 that are older than Thu Aug 30 21:41:11 2018
Oct 04 21:41:12 [NOTICE] delete data from index bloonix-2017-07 for host 1 older than 2018-08-30
Oct 04 21:41:13 [ERROR] $VAR1 = [
'path',
'bloonix-2017-07/stats,event,results/_query',
'data',
{
'query' => {
'filtered' => {
'filter' => {
'range' => {
'time' => {
'lt' => '1535658071000'
}
}
},
'query' => {
'term' => {
'host_id' => 1
}
}
}
}
}
];
Oct 04 21:41:13 [ERROR] rest: request failed to 'http://127.0.0.1:9200/bloonix-2017-07/stats,event,results/_query': [404 Not Found], message: [{"found":false,"_index":"bloonix-2017-07","_type":"stats,event,results","_id":"_query","_version":1,"_shards":{"total":2,"successful":1,"failed":0}}] at line 212
rest: request failed to 'http://127.0.0.1:9200/bloonix-2017-07/stats,event,results/_query': [404 Not Found], message: [{"found":false,"_index":"bloonix-2017-07","_type":"stats,event,results","_id":"_query","_version":1,"_shards":{"total":2,"successful":1,"failed":0}}] at /usr/bin/bloonix-delete-es-host-data line 212.
Hat jemand eine Idee, wie das passieren kann oder was der Grund hierfür sein könnte?
Eine Abfrage mittels curl gibt mir:
curl 127.0.0.1:9200
{
"name" : "Adversary",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "GUlMMPB5RKK2iy7FJgjFsA",
"version" : {
"number" : "2.4.6",
"build_hash" : "5376dca9f70f3abef96a77f4bb22720ace8240fd",
"build_timestamp" : "2017-07-18T12:17:44Z",
"build_snapshot" : false,
"lucene_version" : "5.5.4"
},
"tagline" : "You Know, for Search"
}
ich bekomme bei dem Befehl:
bloonix-delete-es-host-data --really-delete
gerade folgenden Output:
~ # bloonix-delete-es-host-data --really-delete
Oct 04 21:41:11 [NOTICE] --- start processing host 1 type stats,event,results ---
Oct 04 21:41:11 [NOTICE] processing 1 with a data retention of 400 days
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-07 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-08 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-09 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-10 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-11 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2017-12 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-01 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-02 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-03 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-04 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-05 for host 1
Oct 04 21:41:11 [NOTICE] get total size of index bloonix-2018-06 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-07 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-08 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-09 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-10 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-11 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2018-12 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-01 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-02 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-03 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-04 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-05 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-06 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-07 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-08 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-09 for host 1
Oct 04 21:41:12 [NOTICE] get total size of index bloonix-2019-10 for host 1
Oct 04 21:41:12 [NOTICE] found 4192313 documents for host 1 that are older than Thu Aug 30 21:41:11 2018
Oct 04 21:41:12 [NOTICE] delete data from index bloonix-2017-07 for host 1 older than 2018-08-30
Oct 04 21:41:13 [ERROR] $VAR1 = [
'path',
'bloonix-2017-07/stats,event,results/_query',
'data',
{
'query' => {
'filtered' => {
'filter' => {
'range' => {
'time' => {
'lt' => '1535658071000'
}
}
},
'query' => {
'term' => {
'host_id' => 1
}
}
}
}
}
];
Oct 04 21:41:13 [ERROR] rest: request failed to 'http://127.0.0.1:9200/bloonix-2017-07/stats,event,results/_query': [404 Not Found], message: [{"found":false,"_index":"bloonix-2017-07","_type":"stats,event,results","_id":"_query","_version":1,"_shards":{"total":2,"successful":1,"failed":0}}] at line 212
rest: request failed to 'http://127.0.0.1:9200/bloonix-2017-07/stats,event,results/_query': [404 Not Found], message: [{"found":false,"_index":"bloonix-2017-07","_type":"stats,event,results","_id":"_query","_version":1,"_shards":{"total":2,"successful":1,"failed":0}}] at /usr/bin/bloonix-delete-es-host-data line 212.
Hat jemand eine Idee, wie das passieren kann oder was der Grund hierfür sein könnte?
Eine Abfrage mittels curl gibt mir:
curl 127.0.0.1:9200
{
"name" : "Adversary",
"cluster_name" : "elasticsearch",
"cluster_uuid" : "GUlMMPB5RKK2iy7FJgjFsA",
"version" : {
"number" : "2.4.6",
"build_hash" : "5376dca9f70f3abef96a77f4bb22720ace8240fd",
"build_timestamp" : "2017-07-18T12:17:44Z",
"build_snapshot" : false,
"lucene_version" : "5.5.4"
},
"tagline" : "You Know, for Search"
}