stack kb visualizations upsert-visualization cli command

Auth required Idempotent Scope: global
elastic stack kb visualizations upsert-visualization \
  --id <id> \
  --type <type> \
  [options]
		

Upsert visualization

Behaviour flags:

--dry-run — validate all inputs and exit without performing any action

--id string required
The visualization identifier, as returned by the create or search endpoints.
--type enum required

Values: waffle

--breakdown-by string
--data-source string
--description string
The description of the chart. Optional. Any string value or undefined.
--filters string[]

Repeatable: pass --filters multiple times to supply more than one value

--ignore-global-filters
When true, ignores global filters when fetching data for this layer. Defaults to false.
--metrics string[]

Array of metric configurations (minimum 1)

Repeatable: pass --metrics multiple times to supply more than one value

--query string
--sampling number
Sampling factor between 0 (no sampling) and 1 (full sampling).
--styling string
--tags string[]

Tag IDs to associate with this visualization.

Repeatable: pass --tags multiple times to supply more than one value

--title string
The title of the chart displayed in the panel. Optional. Any string value or undefined.
--metric string
--axis string
--layers string[]

Chart layers

Repeatable: pass --layers multiple times to supply more than one value

--legend string
--x string
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
--y string
Breakdown dimension configuration using date histogram, terms, numeric histogram, value ranges, or custom filters.
--tag-by string
--region string
--rows string[]

Array of operations to split the datatable rows by

Repeatable: pass --rows multiple times to supply more than one value

--split-metrics-by string[]

Array of operations to split the metric columns by

Repeatable: pass --split-metrics-by multiple times to supply more than one value

--group-by string[]

Array of breakdown dimensions (minimum 1)

Repeatable: pass --group-by multiple times to supply more than one value

--group-breakdown-by string[]

Array of group breakdown dimensions (minimum 1)

Repeatable: pass --group-breakdown-by multiple times to supply more than one value

--input-file string
path to a JSON file to use as command input
--dry-run
validate all inputs and exit without performing any action (preview changes without applying them)
--no-validate
skip input validation and send the request as-is
--output-fields string
comma-separated list of fields to include in output (dot-notation supported)
--output-template string
Mustache-like template for custom text output (e.g. "{{id}}: {{name}}")
--json

output as JSON