Erreur connexion SSL - Difficulté à migrer un index elasticsearch avec elasticdump
... / Difficulté à migrer un in...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
Frage

Difficulté à migrer un index elasticsearch avec elasticdump

Von
Community Deleted user
Erstellungsdatum 2020-08-11 08:21:03 (edited on 2024-09-04 10:45:59) in Erreur connexion SSL

Bonjour,

J'essaye de migrer un index existant vers "Logs & Metrics" en utilisant elasticdump

https://www.npmjs.com/package/elasticdump

```
elasticdump --input=http://localhost:9200/indexname/ --output=https://user:passsword@gra3.logs.ovh.com:9200/indexname/ --type=data
Tue, 11 Aug 2020 07:59:07 GMT | starting dump
Tue, 11 Aug 2020 07:59:08 GMT | got 100 objects from source elasticsearch (offset: 0)
Tue, 11 Aug 2020 07:59:09 GMT | Error Emitted => {"error":{"root_cause":[{"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"}],"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"},"status":403}
Tue, 11 Aug 2020 07:59:09 GMT | Error Emitted => {"error":{"root_cause":[{"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"}],"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"},"status":403}
Tue, 11 Aug 2020 07:59:09 GMT | Total Writes: 0
Tue, 11 Aug 2020 07:59:09 GMT | dump ended with error (get phase) => FORBIDDEN: {"error":{"root_cause":[{"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"}],"type":"forbidden_exception","reason":"Action 'indices:data/write/bulk' is forbidden due to [DEFAULT]"},"status":403}
```

Est-ce que il y a un réglage à faire ? Si oui quel réglage ?

Arthur Lutz (Logilab)


Antworten sind derzeit für diese Frage deaktiviert.