# Grid layout sizing changed after upgrade from 6.2.4 to 6.7.1

**URL:** https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089
**Category:** Kibana
**Created:** [April 23, 2019, 6:02pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089 "2019-04-23T18:02:15Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![jmcclure](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jmcclure](https://discuss.elastic.co/u/jmcclure)
#### Post date: [April 23, 2019, 6:02pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/1 "2019-04-23T18:02:15Z")

</div>

I have upgraded Kibana from 6.2.4 to 6.7.1 and find that dashboard layouts have changed (a squished visualization). As I understand it, the Kibana grid is now more fine grained than before.

Other than go through the exercise of performing a visual re-layout of all the dashboards that I have implemented, is there a rule-of-thumb on the grid sizing that I can apply to migrate the dashboard "gridData" configuration.

Thanks,  
James

---

<div class="post-metadata">

### Author: ![bhavyarm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/bhavyarm/32/22392_2.png) [@bhavyarm](https://discuss.elastic.co/u/bhavyarm)
#### Post date: [April 24, 2019, 4:42pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/2 "2019-04-24T16:42:24Z")

</div>

I am pretty sure we don't have an easy way of doing that. @timroes any inputs?

Thanks,  
Bhavya

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [April 24, 2019, 5:04pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/3 "2019-04-24T17:04:01Z")

</div>

Hi James,

thanks for your question. The grid itself was extended from 12 columns to 48 (see also [this commit](https://github.com/elastic/kibana/commit/f5aaad396f776d22b9e8b64b7dc76ee086572c30)).

Actually there is code in Kibana that should have updated your dashboard when upgrading Kibana ([https://github.com/elastic/kibana/blob/master/src/legacy/core\_plugins/kibana/public/dashboard/panel/panel\_utils.ts#L74](https://github.com/elastic/kibana/blob/master/src/legacy/core_plugins/kibana/public/dashboard/panel/panel_utils.ts#L74)). Do you have any idea why this could potentially not have ran? Did you somehow manually manipulate the saved objects during upgrading?

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![jmcclure](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jmcclure](https://discuss.elastic.co/u/jmcclure)
#### Post date: [April 24, 2019, 5:54pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/4 "2019-04-24T17:54:31Z")

</div>

Hi Tim,

Thanks for the information. I'm pretty sure it was how I performed the 'upgrade'; not allowing that panel utility to kick-in.

I keep exported dashboards in Git. With an editor I did a global replace on "version": "6.2.4" to "version": "6.7.1" and then reimported the modified dashboard files using curl ( /api/kibana/dashboards/import?force=true ).

Will try again without modifying the dashboard content version.

Thanks,  
James

---

<div class="post-metadata">

### Author: ![timroes](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/timroes/32/19712_2.png) [@timroes](https://discuss.elastic.co/u/timroes)
#### Post date: [April 24, 2019, 6:07pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/5 "2019-04-24T18:07:22Z")

</div>

Hi,

yeap that would be it 😃 I would in general not recommend messing up with version numbers in the saved objects. Besides some specific (older) migration systems like that for dashboard, we also have in more up-to-date versions of Kibana a general migration system in place for upgrading saved objects (that would also run when importing via API, or when just starting up a newer version on an old index, etc.) which will perform migrations of those saved objects. By messing up those numbers you might actually prevent that system from working correctly and end up with broken saved objects (in some places it might be as obvious as that, in other places it might be really subtle and can cause just later on larger confusion, e.g. because minor things in a chart changed that you didn't catch exactly).

Cheers,  
Tim

---

<div class="post-metadata">

### Author: ![jmcclure](https://avatars.discourse-cdn.com/v4/letter/j/9fc29f/32.png) [@jmcclure](https://discuss.elastic.co/u/jmcclure)
#### Post date: [April 25, 2019, 2:07pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/6 "2019-04-25T14:07:29Z")

</div>

Just following up to complete what I have done...

Loaded the dashboards unchanged (which were created for a 6.2.4 version of Kibana ) into Kibana 6.7.1, using curl to the API /api/kibana/dashboards/import?force=true. The dashboard layouts are correct; looks like the panel utility took care of the grid updates.

I exported those dashboards from Kibana 6.7.1 and the version and grid data are the same as the import files (version and grid data remain unchanged with respect to the import files).

James

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [May 23, 2019, 2:07pm UTC](https://discuss.elastic.co/t/grid-layout-sizing-changed-after-upgrade-from-6-2-4-to-6-7-1/178089/7 "2019-05-23T14:07:39Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
