Conversation
Introduce a content package with a Workflows execution overview dashboard for existing `.workflows-executions` data (Kibana 9.3+). Includes `_dev` scripts to regenerate the dashboard JSON. Closes elastic/security-team#15773
✅ Vale Linting ResultsNo issues found on modified lines! The Vale linter checks documentation changes against the Elastic Docs style guide. To use Vale locally or report issues, refer to Elastic style guide for Vale. |
…script Update the dashboard saved object with the latest Kibana export: - New KPI panels: Slowest Workflow (max duration), Timed Out (with trendline) - Failures KPI now includes a trendline sparkline - Compact KPI layout with hidden titles and valueFontMode: fit - Treemap visualizations for Trigger Breakdown and Status Breakdown - Duration formatting using humanizePrecise instead of raw ms - Badge color mode for Per-Workflow Summary table columns - Pinned panel controls: isTestRun (exclude test runs) and spaceId filter Add _dev/scripts/import_dashboard_ndjson.py: - Converts a Kibana saved-object NDJSON export to the integration format - Strips transient fields (accessControl, created_at, updated_at, etc.) - Re-IDs the object to match the integration's expected dashboard ID - Re-injects adHocDataViews definitions that Kibana strips on export (checks both indexPatternId in layers and the references array) Usage: python3 import_dashboard_ndjson.py <path-to-ndjson>
Kibana omits fromUnit on export, causing duration columns to default to seconds instead of milliseconds. Fix the Avg Duration KPI and add automatic fix_duration_formats to the import script for future exports.
… subscription Dashboard best-practice alignment: - Rename panel titles to be self-explanatory (remove redundant suffixes) - Hide axis titles on all XY charts via axisTitlesVisibilitySettings - Clear redundant column labels used as implicit axis titles - Fix Per-Workflow Summary duration columns to use humanizePrecise Update README to reflect current dashboard panels and data sources. Change subscription requirement from basic to enterprise.
Remove build_dashboard.py and its intermediate output create_final_dashboard.json. The dashboard is now maintained by editing in Kibana and importing via import_dashboard_ndjson.py.
💚 Build Succeeded
History
|
|
Hi! We just realized that we haven't looked into this PR in a while. We're sorry! We're labeling this issue as |
|
Hi! This PR has been stale for a while and we're going to close it as part of our cleanup procedure. We appreciate your contribution and would like to apologize if we have not been able to review it, due to the current heavy load of the team. Feel free to re-open this PR if you think it should stay open and is worth rebasing. Thank you for your contribution! |
Summary
Adds the
elastic_workflowsFleet content package — a dashboard-only integration for monitoring Elastic Workflows executions, performance, and failure rates.Package contents
adhoc_wf) pointing to.workflows-executionsDev scripts (
_dev/scripts/)Three scripts support dashboard development and maintenance:
build_dashboard.py: Programmatically defines the dashboard in a readable Python DSL (panel builders, shared constants for KQL queries, ad-hoc data views). Outputs an intermediate JSON to_dev/shared/create_final_dashboard.json.build_so.py: Takes the intermediate representation and builds the final Kibana saved-object JSON atkibana/dashboard/<id>.json. Handles UUID generation for Lens column IDs, reference collection,panelsJSON/optionsJSONstring encoding, and thetypeMigrationVersionfield. This is the authoritative builder for the dashboard.import_dashboard_ndjson.py: Converts a Kibana saved-object NDJSON export back into the integration format. Useful when the dashboard is edited directly in Kibana and re-exported. It:accessControl,created_at,updated_at,created_by,updated_by,version,managed,coreMigrationVersion)adHocDataViewsdefinitions that Kibana strips on export (checks bothindexPatternIdin layers and thereferencesarray)python3 import_dashboard_ndjson.py <path-to-ndjson>Metadata
content(no data streams or agent policies)elastic/workflows-eng^9.3.0enterpriseScreenshots