Index Pattern Not Preserved In Dashboards Export #23435
Labels
Feature:Dashboard
Dashboard related features
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
triage_needed
Kibana version:
6.4.1
Elasticsearch version:
6.4.1
Server OS version:
OSX (local)
Browser version:
Chrome
Original install method (e.g. download page, yum, from source, etc.):
Download page
Describe the bug:
This is an extension of what I mentioned in #22541 (comment) where exporting dashboards and reimporting them was not setting a default index pattern. However, it looks like the export is not finding the pattern anymore which is likely causing the reimport issues (see below).
When using the Rest API to pull down dashboards to save into a file I'm seeing the index-pattern section as having a
404
not found (in previous versions, at least in 6.2.4, this was not the case).Steps to reproduce:
ENTER_DASHBOARD_ID
with correct ID)index-pattern
.Expected behavior:
In previous versions when pulling the dashboard you would get associated index-patterns as well. It seems like this behavior has changed or there was a regression of some kind.
I'm not entirely sure if this API makes any additional calls to get the
index-patterns
but from what I noticed locally, as well as what's mentioned in #20242 (comment), it appears that theapi/saved_objects/_find
API has suffered a regressionThis seems like a second issue but I wanted to bring it up in case the export dashboards API leverages it or similar logic.
@bmcconaghy
The text was updated successfully, but these errors were encountered: