after upgrade to 2.0, some dashboard problems #2163
Comments
Are there any errors in the Javascript console of your browser or any failed requests? All of the widgets should continue to work in 2.0. |
Some javascript errors, see attachment; however, none of them occurs after going to an affected dashboard (the log is from a fresh browser session, including login). Only a single non-200 HTTP code, right at the start of the session, a 401 in response to a request for /api/system/sessions, before logging in. I didn't change the dashboard, so if you let me know how to export the data from mongo, I'd be happy to share the configuration. |
Is there anything in your server logs when trying to view an affected dashboard? |
It would also help if you could share with us the configuration of one of the affected widgets. You can use the |
There's nothing in the server logs. The API output is attached. |
I've had the same issue. "Fixed" it by deleting the "positions" key sfrom the mongo graylog collection > Dashboards > (id). |
I have been able to reproduce two different issues with the dashboard @cmock kindly shared:
|
Quickvalues widgets created before introducing pie charts may not render neither a data table, nor a pie chart. In this commit we ensure we always render the data table by default. Refs #2163
Dashboards created in old Graylog versions may have a positions object that does not contain widget width or height. Instead of relying on what that positions object had, this commit ensures each component of the widget position is initialized with the persisted value or its default. Refs #2163
* Always render quickvalues data table by default Quickvalues widgets created before introducing pie charts may not render neither a data table, nor a pie chart. In this commit we ensure we always render the data table by default. Refs #2163 * Fix typo * Be more picky getting widgets dimensions Dashboards created in old Graylog versions may have a positions object that does not contain widget width or height. Instead of relying on what that positions object had, this commit ensures each component of the widget position is initialized with the persisted value or its default. Refs #2163
* Always render quickvalues data table by default Quickvalues widgets created before introducing pie charts may not render neither a data table, nor a pie chart. In this commit we ensure we always render the data table by default. Refs #2163 * Fix typo * Be more picky getting widgets dimensions Dashboards created in old Graylog versions may have a positions object that does not contain widget width or height. Instead of relying on what that positions object had, this commit ensures each component of the widget position is initialized with the persisted value or its default. Refs #2163 (cherry picked from commit d2fcddb)
Closing this, as it has been fixed now. |
Problem description
After the upgrade to 2.0, all of my pre-existing dashboards are broken, some more, some less.
Three of the five are completely empty, that is, no widgets are visible.
The other two do show all widgets; however, most of the "Quick values"-generated data tables are empty, except for those that I've added recently (with graylog 1.3). Their frame and title shows, but there is no table.
The screenshot shows a non-working and a recently added working table.

All the charts/histograms do show up fine.
Environment
The text was updated successfully, but these errors were encountered: