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

Create dashboards and visualizations with code #205705

Open
angorayc opened this issue Jan 7, 2025 · 2 comments
Open

Create dashboards and visualizations with code #205705

angorayc opened this issue Jan 7, 2025 · 2 comments
Labels
Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas Team:Security Generative AI Security Generative AI Team:Threat Hunting:Explore

Comments

@angorayc
Copy link
Contributor

angorayc commented Jan 7, 2025

Describe the feature:
This issue provides the expected functionalities from threat hunting and GenAI team upon dashboard as code feature:

Expected functionalities: Dashboard Creation API

Create dashboards with code

  1. Space Selection: Allow users to specify the space where the dashboard will be created.
  2. Managed Dashboard Option: Enable users to define whether the dashboard is a managed dashboard.
  3. Tag Assignment: Let users assign a tag to the dashboard. If the specified tag does not exist, the API should automatically create it.
  4. Time Storage: Provide an option for users to specify whether to store time with the dashboard, along with the ability to input a time range.
  5. Query Integration: Accept a dashboard query in either kql or ES | QL format.
  6. Control Bar Configuration: Allow users to enable a control bar for the dashboard and supply the necessary configuration for it.
  7. Supports ad hoc dataview
  8. Supports Add visualization to dashboard

Create visualizations with code

  1. Space Selection: Allow users to specify the space where the visualization will be created.
  2. Managed Dashboard Option: Enable users to define whether the visualization is a managed dashboard.
  3. Tag Assignment: Let users assign a tag to the dashboard. If the specified tag does not exist, the API should automatically create it.
  4. Time Storage: Provide an option for users to specify whether to store time with the dashboard, along with the ability to input a time range.
  5. Query Integration: Accept a dashboard query in either kql or ES | QL format.
  6. Supports ad hoc dataview
  7. Generate Lens attributes with code - @kbn/lens-embeddable-utils, src/platform/packages/shared/kbn-lens-embeddable-utils/attribute_builder/lens_attributes_builder.ts

Use cases:

Create dashboards with code

Given a bunch (e.g. 1000+) of ES|QL queries, we would like to turn them into Kibana dashboards.

Create visualizations with code

@angorayc angorayc added Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas Team:Security Generative AI Security Generative AI Team:Threat Hunting:Explore labels Jan 7, 2025
@elasticmachine
Copy link
Contributor

Pinging @elastic/kibana-presentation (Team:Presentation)

@elasticmachine
Copy link
Contributor

Pinging @elastic/security-threat-hunting-explore (Team:Threat Hunting:Explore)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Team:Presentation Presentation Team for Dashboard, Input Controls, and Canvas Team:Security Generative AI Security Generative AI Team:Threat Hunting:Explore
Projects
None yet
Development

No branches or pull requests

2 participants