Engineer, Lab 5.1

Course: Engineer
Version: 8.15.3

Question: In lab 5.1 Reindex the documents from the blogs index on the remote cluster2 into the existing blogs_fixed2 index on cluster1 (Kibana1). Use the following details for cluster2:

When I run:

POST _reindex
{
  "source": {
    "remote": {
      "host": "https://node5:9200",
      "username": "training",
      "password": "nonprodpwd"
    },
    "index": "blogs"
  },
  "dest": {
    "index": "blogs_fixed2"
  }
}

My output is this:

{
  "error": {
    "root_cause": [
      {
        "type": "status_exception",
        "reason": """body={"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"}],"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"},"status":404}"""
      }
    ],
    "type": "status_exception",
    "reason": """body={"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"}],"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"},"status":404}""",
    "caused_by": {
      "type": "response_exception",
      "reason": """method [POST], host [https://node5:9200], URI [/blogs/_search?scroll=5m&sort=_doc%3Aasc&size=1000&allow_partial_search_results=false&version=false], status line [HTTP/1.1 404 Not Found]
{"error":{"root_cause":[{"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"}],"type":"index_not_found_exception","reason":"no such index [blogs]","resource.type":"index_or_alias","resource.id":"blogs","index_uuid":"_na_","index":"blogs"},"status":404}"""
    }
  },
  "status": 404
}

Is this a known issue?

I hope an instructor can help out.

Thanks,
Patrick

Hey Patrick,

This shouldn’t be the case. In lab 1.2 you should have uploaded the json file to Kibana2 into the `blogs` index (Step 8-15). Can you check if you maybe used a different index name?

Tim

Thanks a lot Tim, totally missed that part in the beginning.

1 Like