Skip to content

Migrate packages dashboards to by value visualizations #3448

Description

@ruflin

Kibana visualizations can be added in a dashboard by value or by reference. As historically by value did not exist, most dashboards are still using by reference. Switching to value has the advantage that the dashboards are fully self contained and only need a single request to be installed. Because of this existing dashboards should be moved over to use by value.

The biggest have the most used packages and the ones with many dashboards and visualisations. This meta issue is to track the work on migrating these packages.

As soon as this list is migrated, we should expand it to all integrations.

Migration script

A migration script was created to help with this effort: https://github.com/flash1293/legacy_vis_analyzer

Documentation

Activity

  1. self-assigned this
    on Jun 1, 2022
  2. andrewkroh commented on Jun 2, 2022

    @andrewkroh
    Contributor

    Meta issue for security-external-integrations: #3463

  3. bradenlpreston commented on Jul 11, 2022

    @bradenlpreston

    @jamiehynds - can you take a look at this?

  4. jamiehynds commented on Jul 11, 2022

    @jamiehynds

    @bradenlpreston - we've made a list of integrations that require conversion here. Assuming there isn't a hard deadline, I've added this work as an 8.5 item as part of our team's planning session later this week.

  5. bradenlpreston commented on Jul 11, 2022

    @bradenlpreston

    Great! - thanks Jamie.

  6. tommyers-elastic commented on Jan 13, 2023

    @tommyers-elastic
    Contributor

    Hey all -For some dashboards that have been migrated to by-value, I still see a bunch of referenced objects for searches, tags, index patterns etc. Are these types of saved objects ok to be still referenced like this, or should these also be inlined? see this dashboard for an example

    it seems like unless we do this this can't be true dashboards are fully self contained and only need a single request to be installed.

    but at the same time, aren't saved searches sometimes top-level package assets too? in which case it wouldn't make sense to duplicate them.

    thanks

  7. ruflin commented on Jan 13, 2023

    @ruflin
    ContributorAuthor

    As you described, we likely not end up having all assets by value (and shouldn't). But we should have clear guidelines for which these is the case.

  8. endorama commented on Jan 17, 2023

    @endorama
    Contributor

    I opened a PR to update the dashboard guidelines documentation: #5021

  9. milanparmar-crest commented on Jan 19, 2023

    @milanparmar-crest

    Team, Is anyone working on Migrating System and Azure dashboards to "by value" visualizations? If not we can take it up and start working on it.

  10. botelastic commented on Jan 19, 2024

    @botelastic

    Hi! We just realized that we haven't looked into this issue in a while. We're sorry! We're labeling this issue as Stale to make it hit our filters and make sure we get back to it as soon as possible. In the meantime, it'd be extremely helpful if you could take a look at it as well and confirm its relevance. A simple comment with a nice emoji will be enough :+1. Thank you for your contribution!

  11. ruflin commented on Jan 22, 2024

    @ruflin
    ContributorAuthor

    @lalit-satapathy Where did we land here?

  12. lalit-satapathy commented on Jan 22, 2024

    @lalit-satapathy
    Contributor

    @lalit-satapathy Where did we land here?

    We are addressing this as part of the fixing of the skipped validations of the package migration work. For the pass-by-value pending the skip was SVR00004.

    Here is one PR being reviewed, for the initial set of packages. There was also a fix done in the in-liner script. The remaining set of packages will be taken up next here.

  13. ruflin commented on Jan 23, 2024

    @ruflin
    ContributorAuthor

    @lalit-satapathy Should we keep this issue open or consider it "completed" and all follow up is tracked separately?

  14. lalit-satapathy commented on Jan 23, 2024

    @lalit-satapathy
    Contributor

    Keeping it open and assigned to me. Will close once all SVR00004 fixes here are done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions