Lesson 1.3 : Restore example blogs index in Kibana for “Search Data” lesson

Course: Elastic Engineer
Version: Lab cloud
Question:
I was working on Lesson 1.3 “Search Data” and the blogs index appeared as a sample dataset in Kibana. I did not create it myself; it was provided by the exercise environment. I accidentally deleted it and now cannot continue with the exercises. I am asking where I can download or obtain that dataset to re-import it.

Hello,

Let us first verify if you have deleted the blogs index, or the blogs data view. These are two different things.

Check the blogs data view:

  • In Kibana go to main menu > stack management > data view
  • You should see the data view here if it exists

Check the blogs index:

  • in Kibana go to main menu > Dev Tools (its under the management section)
  • execute the following code in Dev Tools
  • you will either get an index not found exception or get the count of documents in the index
GET /blogs/_count

Let us know the result of these verifications and we will help you from there.

Hi Rim

{
  "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
}

The index and the data view not exists anymore

Hello again,

I verified the lab steps and it seems the blogs index includes data that you add in previous lab steps to Kibana1 and Kibana2.

  • If you are missing blogs index from kibana1 please repeat steps 4-12 from lab 1.2.
  • If you are missing blogs index from Kibana2 please repeat steps 13-21 from lab 1.2.

I hope this helps. Let me know if there is anything else I can help you with.

Hello @cyberm

You can even restore the index from the snapshot

Thanks!!