Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

plugin architecture: dashboards/visualizations #579

Open
mmguero opened this issue Oct 1, 2024 · 0 comments
Open

plugin architecture: dashboards/visualizations #579

mmguero opened this issue Oct 1, 2024 · 0 comments
Labels
dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request plugins Related to Malcolm "plugins"
Milestone

Comments

@mmguero
Copy link
Collaborator

mmguero commented Oct 1, 2024

This is a sub-issue of Malcolm "plugin architecture" #399

Probably the simplest kind of plugin is adding a new visualization or dashboard to OpenSearch dashboards. Code needed for this might include:

  • the plugin archive would contain JSON files representing OpenSearch saved objects for OpenSearch dashboards
  • the code that loads the dashboards in would need to do some kind of sanitation
    • essentially, the search-and-replace discussed here for the following in case they forgot to do it when they generated it
      • MALCOLM_NETWORK_INDEX_PATTERN_REPLACER
      • MALCOLM_OTHER_INDEX_PATTERN_REPLACER
      • MALCOLM_NETWORK_INDEX_TIME_FIELD_REPLACER
      • MALCOLM_OTHER_INDEX_TIME_FIELD_REPLACER
    • this could probably be done here prior to expanding the replacers to their final values
  • Some sort of code that could cause these to be automatically added to the left navigation pane of the normal Malcolm dashboards?
@mmguero mmguero added enhancement New feature or request dashboards Relating to Malcolm's OpenSearch Dashboards interface plugins Related to Malcolm "plugins" labels Oct 1, 2024
@mmguero mmguero added this to the z.staging milestone Oct 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
dashboards Relating to Malcolm's OpenSearch Dashboards interface enhancement New feature or request plugins Related to Malcolm "plugins"
Projects
Status: Todo (design)
Development

No branches or pull requests

1 participant