stack kb discover-sessions create-discover-session cli command

Auth required
elastic stack kb discover-sessions create-discover-session \
  --tabs <tabs> \
  --title <title> \
  [options]
		

Create a Discover session

Behaviour flags:

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

--tabs string[] required

Ordered list of tabs in the Discover session. Each tab requires a stable, unique ID, which other saved objects and links can reference.

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

--title string required
The title of the Discover session.
--description string
A short description of the Discover session.
--tags string[]

Tag IDs to associate with this Discover session.

Repeatable: pass --tags 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