elastic / kibana

Your window into the Elastic Stack
https://www.elastic.co/products/kibana
Other
19.79k stars 8.19k forks source link

Error importing Control type visualization #16634

Closed ifmgithub closed 1 year ago

ifmgithub commented 6 years ago

Kibana version: 6.1.3

Elasticsearch version: 6.2.1

Server OS version: 6.2.1

Browser version: Firefox Quantum

Browser OS version: 58.0 (64bits)

Original install method (e.g. download page, yum, from source, etc.): repositories

Description of the problem including expected versus actual behavior: when the visualization is imported, the index and field is missing. The expected behavior is that the visualization has all fields filled.

Steps to reproduce:

  1. Create a Control visualization
  2. Export visualizations
  3. Delete visualizations
    1. Import visualization file.

Errors in browser console (if relevant): no relevant

Provide logs and/or server output (if relevant): no relevant

nreese commented 6 years ago

It sounds like the index pattern does not exist in the imported kibana so the control is unable to grab any fields.

Can you better describe the import process?

Are you importing the visualization back to the same Kibana instance? If you were importing to a new Kibana instance, did the same index patterns exist? The input control links to index patterns by id so the index pattern must have the same id as the exported version from the original kibana version. Are there any errors in the console when you try to edit the imported input control?

ifmgithub commented 6 years ago

Hello,

I was exporting some visualization from a Kibana to import in a clone. When I import the file into the clone kibana, all visualizations Works but the “control” type visualization don’t work, so the index pattern exits and kibana find it for all visualizations except for “control” type.

I cannot see any errors in the web kibana interface. Then only fact is that when I go to the dashboard that uses it, the visualization appears like an empty box. When I go to visualizations and edit it, I can see that all selections are empty.

I realise that the bind between the import and the index is through the id, but in this case I think it is not the root of the issue. For me, this is not a problem, but I wanted to inform so you would fix it.

Regards, Ildefonso Ferrer.

De: Nathan Reese [mailto:notifications@github.com] Enviado el: viernes, 9 de febrero de 2018 15:30 Para: elastic/kibana kibana@noreply.github.com CC: Ildefonso Ferrer Montilla iferrer@unitronics.es; Author author@noreply.github.com Asunto: Re: [elastic/kibana] Error importing Control type visualization (#16634)

It sounds like the index pattern does not exist in the imported kibana so the control is unable to grab any fields.

Can you better describe the import process?

Are you importing the visualization back to the same Kibana instance? If you were importing to a new Kibana instance, did the same index patterns exist? The input control links to index patterns by id so the index pattern must have the same id as the exported version from the original kibana version. Are there any errors in the console when you try to edit the imported input control?

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHubhttps://github.com/elastic/kibana/issues/16634#issuecomment-364448730, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AinWy0NWMfHWJUCcVfEjL8mJ9XdLiIokks5tTFZUgaJpZM4R_vQt.

nhirshler commented 3 years ago

I experience the same problem. After Controls visualization is imported, it loses the connection to the index pattern and attempts to use an incorrect one, which of course, is not working. Cannot use this visualization.

Heenawter commented 1 year ago

This should no longer be an issue with the new input controls - importing a dashboard with controls should now connect to the appropriate data view, as long as it exists.