"Could not find the data view" error

hello everyone,
I was working on the test environment of the “Data Analysis with Kibana (On-Demand)” course creating dashboards. Coming to a certain point in the course, restarting the lab with Kibana, I can no longer see any of the things I created. The error in front of me is “Could not find data view.”
What is this error due to?

From Kibana to Elastic Training

Hey MeandraX,

Welcome to the forum. This error is caused by a deleted data view. If you want to solve the problem:

  1. First copy the ID of the data view. This is the string after Could not find the data view: in your screenshot.
  2. Go to Stack management -> Data views -> create data view
  3. Go to advanced settings and paste your Custom data view ID from step 1
  4. Set the index pattern to the correct indices (I assume kibana_sample_data_logs*)
  5. Click Save data view to Kibana

This should solve your issue, Let me know if it does or does not,

Tim

1 Like


Hello everyone and thanks for the quick response.
However, I am still facing problems. I performed the procedure as indicated but the error it gives me is "Failed to save data view."
I am attaching photos of the configuration.

I'm trying to understand why it would not be able to save the data view. Could it be possible that the data view id is already existing somewhere. (the ID on the last picture is not matching the ones of your dashboard.