Core App Block Grid
Certified
A block for displaying blocks in a customizable grid.
Core App Block Grid
A block for displaying blocks in a customizable grid.
Blocks flow from left to right and wrap when the row is full. A cell holds exactly one block: nest a Grid in it to place several. Below the mobile breakpoint of the app the grid collapses to a single column and every span is ignored.
type: io.kestra.plugin.ee.apps.core.blocks.GridExamples
Place the outputs and inputs side by side, the outputs spanning two of three columns
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Grid
columns: 3
gap: LARGE
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
span: 2
- type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
Properties
blocks *
1The blocks to display in the grid.
A block for displaying important alert messages.
Show a success or error message depending on how the execution ends
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
showIcon: true
content: "The {{ inputs.region }} report is ready."
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: ERROR
showIcon: true
content: The report could not be built. Contact the data team.
The content of the alert.
falseSpecify whether a type icon is displayed.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
SUCCESSINFOWARNINGERRORThe type of alert.
A block for automatically refreshing the application layout.
Re-renders the layout every second, so the page switches layout when the execution changes state outside the app, for example when an approver resumes it from the Kestra UI. RUNNING layouts already follow the execution without this block.
Refresh the page while an execution waits for approval, so it switches to the success layout once resumed
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Waiting for approval
This page updates as soon as an approver resumes the execution.
- type: io.kestra.plugin.ee.apps.core.blocks.AutoRefresh
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
content: Your VM request was approved.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying a common button.
Opens the given URL. Use {{ app.url }} to link back to the app, for instance to submit a new request.
Link back to the app so the user can submit another request
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: The report is ready.
- type: io.kestra.plugin.ee.apps.core.blocks.Button
text: Build another report
url: "{{ app.url }}"
style: PRIMARY
The link to add to the button.
Whether the button spans the full width of its container.
DEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
DEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
SubmitThe text of the button.
A block for displaying a dashboard chart.
The chart is a verbatim io.kestra.plugin.core.dashboard.chart.* definition, so it takes the same properties as a chart in a dashboard. The chartOptions.width is ignored since the width comes from the app layout. The chart covers the last 7 days unless its where filters say otherwise, and shows at most 1000 rows. The data is read for the tenant of the app with the permissions of the viewer, so an anonymous visitor of a public app gets no rows from a data source protected by namespace permissions, such as Executions.
The dashboard chart to display.
Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display Asset data in a dashboard chart.
Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.
Display a pie chart with the distribution of VM assets by their os metadata.
charts:
- id: vm_os_distribution
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: VM OS Distribution
column: os
data:
type: io.kestra.plugin.ee.dashboard.data.Assets
columns:
os:
field: METADATA
key: os
displayName: OS
total:
agg: COUNT
where:
- field: TYPE
type: EQUAL_TO
value: io.kestra.plugin.ee.assets.VM
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display a flow output file in a dashboard chart.
Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.
It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.
The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter.
An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.
Limits
Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:
kestra:
ee:
dashboard:
outputs:
max-rows: 10000
max-file-size: 100MB
max-rows(default10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.max-file-size(default100MB): the file size a chart reads. The chart tells you when a file is bigger.
Display the weighted average latency of the latest run of a flow.
charts:
- id: latency
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Average latency by service
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.monitoring
flowId: latency
output: stats
columns:
service:
key: service
latency:
key: avg_latency
agg: AVG
weight: requests
Display the orders rejected by the latest run of a flow.
charts:
- id: rejected_orders
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rejected orders
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.ingest
flowId: orders
output: rejected
dateColumn: received_at
columns:
orderId:
key: order_id
displayName: Order
reason:
key: reason
displayName: Reason
amount:
key: amount
displayName: Amount
agg: SUM
where:
- field: COLUMN
key: reason
type: NOT_EQUAL_TO
value: DUPLICATE
1The identifier of the flow.
1The namespace of the flow.
1The name of the flow output holding the ION file.
The file column holding the date of each row, used to apply the dashboard time window.
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display Execution data in a dashboard chart.
Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.
Display a chart with a Executions per Namespace broken out by State.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Executions
agg: COUNT
Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.
charts:
- id: slow_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Slow executions
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
id:
field: ID
duration:
field: DURATION
where:
- field: DURATION
type: GREATER_THAN
value: PT10S
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display Flow data in a dashboard chart.
Display a chart with a list of Flows.
charts:
- id: list_flows
type: io.kestra.plugin.core.dashboard.chart.Table
data:
type: io.kestra.plugin.core.dashboard.data.Flows
columns:
namespace:
field: NAMESPACE
id:
field: ID
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display Log data in a dashboard chart.
Log data can be displayed in a chart with certain parameters such as Execution date or Log level.
Display a chart with a count of Logs per date grouped by level.
charts:
- id: logs_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Logs
description: Logs count per date grouped by level
legend:
enabled: true
column: date
colorByColumn: level
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
date:
field: DATE
displayName: Execution Date
level:
field: LEVEL
total:
displayName: Total Executions
agg: COUNT
graphStyle: BARS
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Metrics are data exposed by tasks after execution.
A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.
Display a chart with rows inserted by Namespace.
charts:
- id: table_metrics
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rows Inserted by Namespace
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
namespace:
field: NAMESPACE
inserted_rows:
field: VALUE
agg: SUM
where:
- field: NAME
type: EQUAL_TO
value: rows
orderBy:
- column: inserted_rows
order: DESC
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Compare categorical data visually with bar charts.
Display a bar chart with Executions per Namespace.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Execution
agg: COUNT
Display Trigger data in a dashboard chart.
Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.
Display a table with the next execution date of each enabled trigger.
charts:
- id: next_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Next Executions
pagination:
enabled: true
data:
type: io.kestra.plugin.core.dashboard.data.Triggers
where:
- field: DISABLED
type: EQUAL_TO
value: false
columns:
namespace:
field: NAMESPACE
displayName: Namespace
flowId:
field: FLOW_ID
displayName: Flow
nextExec:
field: NEXT_EXECUTION_DATE
displayName: Next Execution Date
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.bars.BarOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track a specific value.
KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.
Display a Success Ratio per Flow
charts:
- id: KPI_SUCCESS_PERCENTAGE
type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
chartOptions:
displayName: Success Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
columns:
field: FLOW_ID
agg: COUNT
numerator:
- field: STATE
type: IN
values:
- SUCCESS
where: # optional if you filter by namespace
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
Display a chart with executions in success in a given namespace.
Change.
Display a chart with executions in success in a given namespace.
charts:
- id: kpi_success_ratio
type: io.kestra.plugin.core.dashboard.chart.KPI
chartOptions:
displayName: Success Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI
columns:
field: ID
agg: COUNT
numerator:
- type: IN
field: STATE
values:
- SUCCESS
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.kpis.KpiOption
1FLATFLATPERCENTAGE6>= 1<= 12Track a specific value.
KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.
Display a Success Ratio per Flow
charts:
- id: KPI_SUCCESS_PERCENTAGE
type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
chartOptions:
displayName: Success Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
columns:
field: FLOW_ID
agg: COUNT
numerator:
- field: STATE
type: IN
values:
- SUCCESS
where: # optional if you filter by namespace
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
Display a chart with Flows KPI.
Change.
Display count of Flows.
charts:
- id: kpi
type: io.kestra.plugin.core.dashboard.chart.KPI
data:
type: io.kestra.plugin.core.dashboard.data.FlowsKPI
columns:
field: ID
agg: COUNT
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.kpis.KpiOption
1FLATFLATPERCENTAGE6>= 1<= 12Track a specific value.
KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.
Display a Success Ratio per Flow
charts:
- id: KPI_SUCCESS_PERCENTAGE
type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
chartOptions:
displayName: Success Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
columns:
field: FLOW_ID
agg: COUNT
numerator:
- field: STATE
type: IN
values:
- SUCCESS
where: # optional if you filter by namespace
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
Display a single Log value in a KPI chart.
Aggregates Log data into a single value, such as a count of logs or the ratio of logs matching the numerator filters, to be displayed in a KPI chart.
Display the percentage of ERROR logs in a given namespace.
charts:
- id: kpi_error_logs_ratio
type: io.kestra.plugin.core.dashboard.chart.KPI
chartOptions:
displayName: Error Logs Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.LogsKPI
columns:
field: LEVEL
agg: COUNT
numerator:
- type: IN
field: LEVEL
values:
- ERROR
where:
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.kpis.KpiOption
1FLATFLATPERCENTAGE6>= 1<= 12Track a specific value.
KPI charts are used to display a single value, such as a count or percentage, often used to track performance indicators.
Display a Success Ratio per Flow
charts:
- id: KPI_SUCCESS_PERCENTAGE
type: io.kestra.plugin.core.dashboard.chart.KPI # io.kestra.plugin.core.dashboard.chart.Trends
chartOptions:
displayName: Success Ratio
numberType: PERCENTAGE
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.ExecutionsKPI # io.kestra.plugin.core.dashboard.data.ExecutionsTrends
columns:
field: FLOW_ID
agg: COUNT
numerator:
- field: STATE
type: IN
values:
- SUCCESS
where: # optional if you filter by namespace
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
Display a single Metric value in a KPI chart.
Aggregates Metrics exposed by tasks into a single value, such as the total number of rows loaded by a BigQuery task or an output count from a SQL query, to be displayed in a KPI chart.
Display the total number of rows inserted in a given namespace.
charts:
- id: kpi_inserted_rows
type: io.kestra.plugin.core.dashboard.chart.KPI
chartOptions:
displayName: Rows Inserted
numberType: FLAT
width: 3
data:
type: io.kestra.plugin.core.dashboard.data.MetricsKPI
columns:
field: VALUE
agg: SUM
where:
- field: NAME
type: EQUAL_TO
value: rows
- field: NAMESPACE
type: EQUAL_TO
value: "company.team"
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.kpis.KpiOption
1FLATFLATPERCENTAGE6>= 1<= 12Add context and insights with customizable Markdown text.
Display custom content in place with Markdown.
charts:
- id: markdown_insight
type: io.kestra.plugin.core.dashboard.chart.Markdown
chartOptions:
displayName: Chart Insights
description: How to interpret this chart
content: |
## Execution Success Rate
This chart displays the percentage of successful executions over time.
- A **higher success rate** indicates stable and reliable workflows.
- Sudden **drops** may signal issues in task execution or external dependencies.
- Use this insight to identify trends and optimize performance.
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.core.models.dashboards.ChartOption
16>= 1<= 12Flow Source to fetch description
Flow ID
Flow Namespace
^[A-Za-z_$][A-Za-z0-9_$]*(\.[A-Za-z_$][A-Za-z0-9_$]*)*$1Markdown from text
^[A-Za-z_$][A-Za-z0-9_$]*(\.[A-Za-z_$][A-Za-z0-9_$]*)*$1Markdown content to display
Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display Asset data in a dashboard chart.
Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.
Display a pie chart with the distribution of VM assets by their os metadata.
charts:
- id: vm_os_distribution
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: VM OS Distribution
column: os
data:
type: io.kestra.plugin.ee.dashboard.data.Assets
columns:
os:
field: METADATA
key: os
displayName: OS
total:
agg: COUNT
where:
- field: TYPE
type: EQUAL_TO
value: io.kestra.plugin.ee.assets.VM
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display a flow output file in a dashboard chart.
Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.
It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.
The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter.
An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.
Limits
Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:
kestra:
ee:
dashboard:
outputs:
max-rows: 10000
max-file-size: 100MB
max-rows(default10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.max-file-size(default100MB): the file size a chart reads. The chart tells you when a file is bigger.
Display the weighted average latency of the latest run of a flow.
charts:
- id: latency
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Average latency by service
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.monitoring
flowId: latency
output: stats
columns:
service:
key: service
latency:
key: avg_latency
agg: AVG
weight: requests
Display the orders rejected by the latest run of a flow.
charts:
- id: rejected_orders
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rejected orders
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.ingest
flowId: orders
output: rejected
dateColumn: received_at
columns:
orderId:
key: order_id
displayName: Order
reason:
key: reason
displayName: Reason
amount:
key: amount
displayName: Amount
agg: SUM
where:
- field: COLUMN
key: reason
type: NOT_EQUAL_TO
value: DUPLICATE
1The identifier of the flow.
1The namespace of the flow.
1The name of the flow output holding the ION file.
The file column holding the date of each row, used to apply the dashboard time window.
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display Execution data in a dashboard chart.
Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.
Display a chart with a Executions per Namespace broken out by State.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Executions
agg: COUNT
Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.
charts:
- id: slow_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Slow executions
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
id:
field: ID
duration:
field: DURATION
where:
- field: DURATION
type: GREATER_THAN
value: PT10S
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display Flow data in a dashboard chart.
Display a chart with a list of Flows.
charts:
- id: list_flows
type: io.kestra.plugin.core.dashboard.chart.Table
data:
type: io.kestra.plugin.core.dashboard.data.Flows
columns:
namespace:
field: NAMESPACE
id:
field: ID
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display Log data in a dashboard chart.
Log data can be displayed in a chart with certain parameters such as Execution date or Log level.
Display a chart with a count of Logs per date grouped by level.
charts:
- id: logs_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Logs
description: Logs count per date grouped by level
legend:
enabled: true
column: date
colorByColumn: level
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
date:
field: DATE
displayName: Execution Date
level:
field: LEVEL
total:
displayName: Total Executions
agg: COUNT
graphStyle: BARS
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Metrics are data exposed by tasks after execution.
A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.
Display a chart with rows inserted by Namespace.
charts:
- id: table_metrics
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rows Inserted by Namespace
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
namespace:
field: NAMESPACE
inserted_rows:
field: VALUE
agg: SUM
where:
- field: NAME
type: EQUAL_TO
value: rows
orderBy:
- column: inserted_rows
order: DESC
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Show proportions and distributions using pie charts.
Display a pie chart with Executions per State.
charts:
- id: executions_pie
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Total Executions
description: Total executions per state
legend:
enabled: true
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
state:
field: STATE
total:
agg: COUNT
Display open issues by priority, with a color and a display name per priority, listed from critical to low.
charts:
- id: open_by_priority
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: Open issues by priority
colorByColumn: name
colorByValues:
- value: by_priority.critical
label: Critical
color: failed
- value: by_priority.high
label: High
color: warning
- value: by_priority.medium
label: Medium
color: "#f9a825"
- value: by_priority.low
label: Low
color: success
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
name:
field: NAME
value:
field: VALUE
agg: MAX
Display Trigger data in a dashboard chart.
Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.
Display a table with the next execution date of each enabled trigger.
charts:
- id: next_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Next Executions
pagination:
enabled: true
data:
type: io.kestra.plugin.core.dashboard.data.Triggers
where:
- field: DISABLED
type: EQUAL_TO
value: false
columns:
namespace:
field: NAMESPACE
displayName: Namespace
flowId:
field: FLOW_ID
displayName: Flow
nextExec:
field: NEXT_EXECUTION_DATE
displayName: Next Execution Date
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.pies.PieOption
1Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
DONUTPIEDONUT{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display Asset data in a dashboard chart.
Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.
Display a pie chart with the distribution of VM assets by their os metadata.
charts:
- id: vm_os_distribution
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: VM OS Distribution
column: os
data:
type: io.kestra.plugin.ee.dashboard.data.Assets
columns:
os:
field: METADATA
key: os
displayName: OS
total:
agg: COUNT
where:
- field: TYPE
type: EQUAL_TO
value: io.kestra.plugin.ee.assets.VM
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display a flow output file in a dashboard chart.
Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.
It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.
The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter.
An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.
Limits
Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:
kestra:
ee:
dashboard:
outputs:
max-rows: 10000
max-file-size: 100MB
max-rows(default10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.max-file-size(default100MB): the file size a chart reads. The chart tells you when a file is bigger.
Display the weighted average latency of the latest run of a flow.
charts:
- id: latency
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Average latency by service
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.monitoring
flowId: latency
output: stats
columns:
service:
key: service
latency:
key: avg_latency
agg: AVG
weight: requests
Display the orders rejected by the latest run of a flow.
charts:
- id: rejected_orders
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rejected orders
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.ingest
flowId: orders
output: rejected
dateColumn: received_at
columns:
orderId:
key: order_id
displayName: Order
reason:
key: reason
displayName: Reason
amount:
key: amount
displayName: Amount
agg: SUM
where:
- field: COLUMN
key: reason
type: NOT_EQUAL_TO
value: DUPLICATE
1The identifier of the flow.
1The namespace of the flow.
1The name of the flow output holding the ION file.
The file column holding the date of each row, used to apply the dashboard time window.
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display Execution data in a dashboard chart.
Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.
Display a chart with a Executions per Namespace broken out by State.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Executions
agg: COUNT
Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.
charts:
- id: slow_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Slow executions
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
id:
field: ID
duration:
field: DURATION
where:
- field: DURATION
type: GREATER_THAN
value: PT10S
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display Flow data in a dashboard chart.
Display a chart with a list of Flows.
charts:
- id: list_flows
type: io.kestra.plugin.core.dashboard.chart.Table
data:
type: io.kestra.plugin.core.dashboard.data.Flows
columns:
namespace:
field: NAMESPACE
id:
field: ID
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display Log data in a dashboard chart.
Log data can be displayed in a chart with certain parameters such as Execution date or Log level.
Display a chart with a count of Logs per date grouped by level.
charts:
- id: logs_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Logs
description: Logs count per date grouped by level
legend:
enabled: true
column: date
colorByColumn: level
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
date:
field: DATE
displayName: Execution Date
level:
field: LEVEL
total:
displayName: Total Executions
agg: COUNT
graphStyle: BARS
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Metrics are data exposed by tasks after execution.
A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.
Display a chart with rows inserted by Namespace.
charts:
- id: table_metrics
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rows Inserted by Namespace
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
namespace:
field: NAMESPACE
inserted_rows:
field: VALUE
agg: SUM
where:
- field: NAME
type: EQUAL_TO
value: rows
orderBy:
- column: inserted_rows
order: DESC
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Display structured data in a clear, sortable table.
Display a table with Log counts for each level by Namespace.
charts:
- id: table_logs
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Log count by level for filtered namespace
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
level:
field: LEVEL
count:
agg: COUNT
where:
- field: NAMESPACE
type: IN
values:
- dev_graph
- prod_graph
Display Trigger data in a dashboard chart.
Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.
Display a table with the next execution date of each enabled trigger.
charts:
- id: next_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Next Executions
pagination:
enabled: true
data:
type: io.kestra.plugin.core.dashboard.data.Triggers
where:
- field: DISABLED
type: EQUAL_TO
value: false
columns:
namespace:
field: NAMESPACE
displayName: Namespace
flowId:
field: FLOW_ID
displayName: Flow
nextExec:
field: NEXT_EXECUTION_DATE
displayName: Next Execution Date
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.tables.TableOption
1{
"enabled": true
}{
"enabled": true
}6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display Asset data in a dashboard chart.
Aggregate assets by type, namespace or any metadata key to visualize your inventory. Assets are not filtered by the dashboard time-range, so charts always reflect the current inventory.
Display a pie chart with the distribution of VM assets by their os metadata.
charts:
- id: vm_os_distribution
type: io.kestra.plugin.core.dashboard.chart.Pie
chartOptions:
displayName: VM OS Distribution
column: os
data:
type: io.kestra.plugin.ee.dashboard.data.Assets
columns:
os:
field: METADATA
key: os
displayName: OS
total:
agg: COUNT
where:
- field: TYPE
type: EQUAL_TO
value: io.kestra.plugin.ee.assets.VM
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display a flow output file in a dashboard chart.
Displays a compact or pre-aggregated dataset ION file (one object per line) written by a flow. The flow does the heavy aggregation work, and the dashboard shows the result. The file is read sequentially, so keep the file small and already shaped for the chart.
It reads the output file of the latest successful execution of the flow, from the Kestra internal storage. Each execution output must be a full snapshot, so the chart shows the dataset of that execution only.
The dashboard time window filters the rows on dateColumn. Without dateColumn, there is no time filter.
An AVG column can set weight to the name of a file column holding the weight of each row, to compute a weighted average. A row without that column counts for 0.
Limits
Two settings keep the display time short and the server load low. Tune them to your use case and to your storage backend (a remote backend such as S3 reads slower than a local disk), in the Kestra configuration:
kestra:
ee:
dashboard:
outputs:
max-rows: 10000
max-file-size: 100MB
max-rows(default10000): the number of rows read from the file to draw a chart, counted before the chart filters apply. The chart tells you when the file holds more rows.max-file-size(default100MB): the file size a chart reads. The chart tells you when a file is bigger.
Display the weighted average latency of the latest run of a flow.
charts:
- id: latency
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Average latency by service
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.monitoring
flowId: latency
output: stats
columns:
service:
key: service
latency:
key: avg_latency
agg: AVG
weight: requests
Display the orders rejected by the latest run of a flow.
charts:
- id: rejected_orders
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rejected orders
data:
type: io.kestra.plugin.ee.dashboard.data.Outputs
namespace: company.ingest
flowId: orders
output: rejected
dateColumn: received_at
columns:
orderId:
key: order_id
displayName: Order
reason:
key: reason
displayName: Reason
amount:
key: amount
displayName: Amount
agg: SUM
where:
- field: COLUMN
key: reason
type: NOT_EQUAL_TO
value: DUPLICATE
1The identifier of the flow.
1The namespace of the flow.
1The name of the flow output holding the ION file.
The file column holding the date of each row, used to apply the dashboard time window.
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display Execution data in a dashboard chart.
Execution data can be displayed in charts broken out by Namespace and filtered by State, for example.
Display a chart with a Executions per Namespace broken out by State.
charts:
- id: executions_per_namespace_bars
type: io.kestra.plugin.core.dashboard.chart.Bar
chartOptions:
displayName: Executions (per namespace)
description: Executions count per namespace
legend:
enabled: true
column: namespace
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
namespace:
field: NAMESPACE
state:
field: STATE
total:
displayName: Executions
agg: COUNT
Display the executions that ran for longer than ten seconds. A DURATION filter takes an ISO-8601 duration, or a number of seconds.
charts:
- id: slow_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Slow executions
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
id:
field: ID
duration:
field: DURATION
where:
- field: DURATION
type: GREATER_THAN
value: PT10S
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display Flow data in a dashboard chart.
Display a chart with a list of Flows.
charts:
- id: list_flows
type: io.kestra.plugin.core.dashboard.chart.Table
data:
type: io.kestra.plugin.core.dashboard.data.Flows
columns:
namespace:
field: NAMESPACE
id:
field: ID
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display Log data in a dashboard chart.
Log data can be displayed in a chart with certain parameters such as Execution date or Log level.
Display a chart with a count of Logs per date grouped by level.
charts:
- id: logs_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Logs
description: Logs count per date grouped by level
legend:
enabled: true
column: date
colorByColumn: level
data:
type: io.kestra.plugin.core.dashboard.data.Logs
columns:
date:
field: DATE
displayName: Execution Date
level:
field: LEVEL
total:
displayName: Total Executions
agg: COUNT
graphStyle: BARS
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Metrics are data exposed by tasks after execution.
A chart using Metrics could display the number of rows loaded in a bigQuery task or an output count from a SQL Query; anything exposed by an execution.
Display a chart with rows inserted by Namespace.
charts:
- id: table_metrics
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Rows Inserted by Namespace
data:
type: io.kestra.plugin.core.dashboard.data.Metrics
columns:
namespace:
field: NAMESPACE
inserted_rows:
field: VALUE
agg: SUM
where:
- field: NAME
type: EQUAL_TO
value: rows
orderBy:
- column: inserted_rows
order: DESC
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12Track trends over time with dynamic time series charts.
Display a chart with Executions over the last week.
charts:
- id: executions_timeseries
type: io.kestra.plugin.core.dashboard.chart.TimeSeries
chartOptions:
displayName: Total Executions
description: Executions last week
legend:
enabled: true
column: date
colorByColumn: state
data:
type: io.kestra.plugin.core.dashboard.data.Executions
columns:
date:
field: START_DATE
displayName: Date
state:
field: STATE
total:
displayName: Executions
agg: COUNT
graphStyle: BARS
duration:
displayName: Duration
field: DURATION
agg: SUM
graphStyle: LINES
Display Trigger data in a dashboard chart.
Trigger data can be displayed in charts or tables listing the Namespace, Flow, and next execution date of each trigger, and filtered by whether the trigger is disabled, for example.
Display a table with the next execution date of each enabled trigger.
charts:
- id: next_executions
type: io.kestra.plugin.core.dashboard.chart.Table
chartOptions:
displayName: Next Executions
pagination:
enabled: true
data:
type: io.kestra.plugin.core.dashboard.data.Triggers
where:
- field: DISABLED
type: EQUAL_TO
value: false
columns:
namespace:
field: NAMESPACE
displayName: Namespace
flowId:
field: FLOW_ID
displayName: Flow
nextExec:
field: NEXT_EXECUTION_DATE
displayName: Next Execution Date
^[a-zA-Z0-9][a-zA-Z0-9_-]*1io.kestra.plugin.core.dashboard.chart.timeseries.TimeSeriesOption
11Label, color and order of the chart's values.
Each entry matches one value of the column the chart is split by, such as by_priority.critical.
Listed values come first in the chart and its legend, in the order they are listed, and the others follow.
A value with no color keeps the color of its execution state or log level when it names one, and otherwise gets a color from the theme's chart palette.
List a value with a color to keep that color in every chart.
{
"enabled": true
}ALLNONEALLSINGLE6>= 1<= 12>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for separating blocks using an horizontal line.
Separate the outputs from the logs with a horizontal line
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Report for {{ inputs.region }}"
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
- type: io.kestra.plugin.ee.apps.core.blocks.Divider
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying an image
Display a logo above the execution form
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Image
source: https://kestra.io/favicon.ico
altText: Company logo
title: Orders report
style: "max-width: 120px;"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
The alternate text for the image.
The path to the image.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
Custom CSS style for the image.
Only sizing and box properties apply: width, height and their min and max variants, aspect-ratio, object-fit, object-position, margin, padding, border, border-radius, box-shadow, opacity, display, vertical-align and float. Any other property is dropped, so the style cannot load a URL.
The title for the image.
A block for displaying an animation during data loading.
Display a loading animation while the execution runs
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: Building the report, keep this page open.
- type: io.kestra.plugin.ee.apps.core.blocks.Loading
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying text in markdown.
The content is a Pebble template: {{ inputs.<id> }} resolves to the submitted inputs, and on OPEN it follows the values selected in the form.
Introduce the form with Markdown text that reflects the selected input value
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: |
## Orders report
Select a region to build the report. The **{{ inputs.region }}** report includes every order of the current month.
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
The content of the block.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for redirecting to an URL.
Redirect the user to another page 10 seconds after the execution succeeds
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: The report is ready. You will be redirected to the reporting portal in 10 seconds.
- type: io.kestra.plugin.ee.apps.core.blocks.RedirectTo
url: https://kestra.io/docs
delay: PT10S
durationThe delay before triggering the redirection.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
The URL to redirect to.
A block for displaying an error stacktrace.
Use it on an ERROR layout, where {{ app.error.message }} and {{ app.error.stacktrace }} hold the error that prevented the app from rendering.
Display the error message and stacktrace when the app fails to render
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: The report is ready.
- on: ERROR
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Stacktrace
message: "{{ app.error.message }}"
content: "{{ app.error.stacktrace }}"
The content of the error stacktrace.
The message of the error.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying a table.
Displays static rows: each row is a map, and its keys become the column headers.
Display a static reference table above the execution form
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Available regions"
- type: io.kestra.plugin.ee.apps.core.blocks.Table
data:
- region: EMEA
timezone: Europe/Paris
- region: NA
timezone: America/New_York
- region: APAC
timezone: Asia/Singapore
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
The list of data rows for the table.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for reviewing an Approval task: its inputs, a comment and the approve and deny buttons.
CommentThe label of the comment field.
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the buttons.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying the assets emitted or updated by a flow execution.
List the VM assets emitted by an execution once it succeeds
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Your virtual machine is ready"
- type: io.kestra.plugin.ee.apps.execution.blocks.Assets
filter:
include:
- io.kestra.plugin.ee.assets.VM
The filter for the assets, on their type.
A single execution can emit dozens of assets - a Terraform apply or a dbt build does - so include keeps only the listed asset types, and exclude drops them. Types are the full plugin type, e.g. io.kestra.plugin.ee.assets.VM.
io.kestra.plugin.ee.apps.execution.blocks.IncludeOrExcludeFilter
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying a button to cancel an Approval request without a decision.
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
DEFAULTDEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
Cancel requestThe text of the button.
A block for displaying a button to cancel an execution.
Let the user cancel the execution while it runs or waits for approval
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Loading
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Cancel request
style: DANGER
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: Your request is waiting for approval.
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Withdraw request
style: DANGER
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: WARNING
content: The request was canceled.
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
DEFAULTDEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
CancelThe text of the button.
A block for displaying a button to create an execution.
Display a large, full-width button that submits the form and starts an execution
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Orders report"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
style: SUCCESS
size: LARGE
fullWidth: true
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
PRIMARYDEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
ExecuteThe text of the button.
A block for displaying the form to create an execution.
Displays a form generated from the flow inputs. Pair it with a CreateExecutionButton to submit it.
Display a form generated from the flow inputs
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Orders report"
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying a button to download the logs of an execution.
Let the user download the execution logs, filtered by level and task
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
- type: io.kestra.plugin.ee.apps.execution.blocks.DownloadLogsButton
text: Download logs
filter:
logLevel: INFO
taskIds:
- download
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.DownloadLogsButton
text: Download error logs
style: DANGER
filter:
logLevel: ERROR
The filter for the logs to download.
io.kestra.plugin.ee.apps.execution.blocks.DownloadLogsButton-LogFilter
ERRORWARNINFODEBUGTRACEThe minimum log level.
The optional list of tasks for which logs are to be downloaded.
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
DEFAULTDEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
Download LogsThe text of the button.
A block for displaying the progress of a flow execution as a Gantt chart.
A simplified version of the execution Gantt view: one bar per task run, with its state and duration. It shows no logs, outputs or task actions, so it is safe to expose to users who cannot log in to Kestra. On a RUNNING layout, the chart updates as the execution progresses.
Follow the progress of the execution as a Gantt chart, and hide the approval step once it succeeds
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: Provisioning is in progress, keep this page open.
- type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Gantt
filter:
exclude:
- approval
The filter for the task runs, on their task id.
include keeps only the task runs of the listed tasks, and exclude drops them - for instance, to hide technical tasks the app's users do not need to follow.
io.kestra.plugin.ee.apps.execution.blocks.IncludeOrExcludeFilter
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying the inputs of a flow execution.
Displays one row per input submitted for the execution, labeled with the input's displayName or, when not set, its id.
Show the submitted inputs to the approver of a paused execution
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Review the request"
- type: io.kestra.plugin.ee.apps.execution.blocks.Inputs
filter:
include:
- vm_size
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
text: Approve
The filter to apply on the flow input IDs.
io.kestra.plugin.ee.apps.execution.blocks.IncludeOrExcludeFilter
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying the logs of a flow execution.
While the execution runs, the logs are streamed as they are emitted. Once it ends, the block shows the stored logs.
Stream the logs while the execution runs, and show only error logs if it fails
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Build report
- on: RUNNING
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Loading
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
- on: FAILURE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: ERROR
content: The report could not be built.
- type: io.kestra.plugin.ee.apps.execution.blocks.Logs
filter:
logLevel: ERROR
The filter for the logs.
io.kestra.plugin.ee.apps.execution.blocks.Logs-LogFilter
ERRORWARNINFODEBUGTRACEThe optional log level.
The optional list of tasks for which logs are to be displayed.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying the outputs of a flow execution.
Displays the flow-level outputs declared in the flow's outputs property, one row per output, labeled with the output's displayName or, when not set, its id. Task outputs are not included: if the flow declares no outputs, the block renders nothing. To display task outputs without changing the flow, use the TaskOutputs block instead.
Display a file declared as a flow output once the execution succeeds
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Fetch orders
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.Outputs
filter:
include:
- orders_file
The filter to apply on the flow output IDs.
io.kestra.plugin.ee.apps.execution.blocks.IncludeOrExcludeFilter
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying a button to resume a paused execution.
Submits the ResumeExecutionForm values, if any, and resumes the execution paused by a Pause task.
Let an approver resume or reject a paused execution
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Approve the VM request"
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
text: Approve
style: SUCCESS
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Reject
style: DANGER
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
content: The VM was provisioned.
Whether the button spans the full width of its container.
DEFAULTDEFAULTLARGESMALLThe size of the button.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
PRIMARYDEFAULTPRIMARYSUCCESSINFOWARNINGDANGERThe style of the button.
ResumeThe text of the button.
A block for displaying the form to resume an execution.
Displays the onResume inputs of the Pause task that paused the execution. It renders nothing when the task defines no onResume inputs.
Display the form for the Pause task's onResume inputs
# Requires a companion flow, vm_request (not shown), with a `vm_size` input, an `approval` Pause task and a `provision` task that emits a VM asset.
id: vm_request
displayName: VM request
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: vm_request
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Request VM
- on: PAUSE
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Markdown
content: "## Approve the VM request"
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionForm
- type: io.kestra.plugin.ee.apps.execution.blocks.ResumeExecutionButton
text: Approve
style: SUCCESS
- type: io.kestra.plugin.ee.apps.execution.blocks.CancelExecutionButton
text: Reject
style: DANGER
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.core.blocks.Alert
style: SUCCESS
content: The VM was provisioned.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
A block for displaying the outputs of tasks.
Displays the task outputs selected in the block's outputs property, one row per entry. Unlike the Outputs block, it does not require the flow to declare outputs. Each value expression can only reference task outputs, using {{ outputs.<task_id>.<property> }}; referencing any other variable, such as inputs, makes the app fail to render.
Display a file produced by a task once the execution succeeds
# Requires a companion flow, orders_report (not shown), with a `region` input, a `download` task and an `orders_file` flow output.
id: orders_report
displayName: Orders report
type: io.kestra.plugin.ee.apps.Execution
namespace: company.team
flowId: orders_report
access:
type: PRIVATE
layout:
- on: OPEN
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.CreateExecutionButton
text: Fetch orders
- on: SUCCESS
blocks:
- type: io.kestra.plugin.ee.apps.execution.blocks.TaskOutputs
outputs:
- displayName: Orders CSV
type: FILE
value: "{{ outputs.download.uri }}"
The list of task outputs to display.
io.kestra.plugin.ee.apps.execution.blocks.TaskOutput
The display name of the output, shown as the row label.
STRINGSELECTINTFLOATBOOLDATETIMEDATETIMEDURATIONFILEJSONIONURISECRETARRAYMULTISELECTYAMLEMAILFORMREUSABLE_INPUTSTABLEASSETThe type of the output.
The value of the output.
Can be a dynamic expression referencing task outputs, for example {{ outputs.<task_id>.<property> }}.
The short description of the output.
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.
columns integer
1>= 1<= 12The number of columns of the grid.
gap string
MEDIUMNONESMALLMEDIUMLARGEEXTRA_LARGEThe space between the cells of the grid.
span integer
>= 1The number of columns the block spans when it is placed in a grid.
Defaults to 1. It is ignored outside a Grid block and cannot exceed the number of columns of the grid.