Skip to content

Conversation

@v1v
Copy link
Member

@v1v v1v commented Oct 23, 2025

Superseedes #387

What

New feature to download a Kibana Dashboard in a png format

Why

This should help to simplify our scripts:

I decided to avoid running e2e tests, but using it directly.

@v1v v1v requested a review from a team as a code owner October 23, 2025 13:12
Copilot AI review requested due to automatic review settings October 23, 2025 13:12
@v1v v1v self-assigned this Oct 23, 2025
@v1v v1v added the changelog:feature When you add a new feature label Oct 23, 2025
Copy link
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull Request Overview

This PR introduces a new reusable GitHub Action component to download Kibana dashboards as PNG files. The feature helps consolidate and simplify existing scripts across the Elastic organization that perform similar functionality.

Key Changes:

  • New composite action that generates and downloads Kibana dashboard screenshots via Kibana's reporting API
  • Includes polling mechanism with retry logic and configurable parameters for dashboard rendering

Reviewed Changes

Copilot reviewed 5 out of 5 changed files in this pull request and generated 1 comment.

Show a summary per file
File Description
download-kibana-dashboard/run.sh Core bash script implementing the Kibana API interaction and polling logic
download-kibana-dashboard/action.yml GitHub Action definition with input parameters and composite action steps
download-kibana-dashboard/README.md Documentation for the new action including usage examples
.github/workflows/test-download-kibana-dashboard.yml Test workflow to validate the action using OIDC and real Kibana cluster
.github/workflows/no-test.yml Updated exclusion list to include the new action directory

Comment on lines +2 to +4
name: 'download-kibana-dashboard'
description: |
An Action to download a Kibana dashboard in png.
Copy link

Copilot AI Oct 23, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Corrected spelling of 'compoonent' to 'component' (note: issue is in PR title, but documenting here as it relates to this action).

Copilot uses AI. Check for mistakes.
kibana-host: ${{ env.KIBANA_HOST }}
kibana-user: ${{ env.KIBANA_USERNAME }}
kibana-password: ${{ env.KIBANA_PASSWORD }}
dashboard-id: "2c0daa02-35e8-4dd3-aa0a-6a24a48d857d"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I created this dashboard manually

@v1v v1v changed the title feat: reusable compoonent to download kibana dashboards feat: reusable component to download kibana dashboards Oct 23, 2025
@v1v v1v enabled auto-merge October 23, 2025 13:14
Copy link
Contributor

@fr4nc1sc0-r4m0n fr4nc1sc0-r4m0n left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@v1v v1v added this pull request to the merge queue Oct 23, 2025
Merged via the queue into main with commit e271f54 Oct 23, 2025
9 of 10 checks passed
@v1v v1v deleted the feature/download-kibana branch October 23, 2025 14:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

changelog:feature When you add a new feature

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants