stack kb streams post-streams-name-content-import cli command
Auth required
elastic stack kb streams post-streams-name-content-import \
--name <name> \
--content <content> \
--include <include> \
[options]
Import content into a stream
Behaviour flags:
--dry-run — validate all inputs and exit without performing any action
--namestringrequired- The name of the stream to import content into.
--contentstringrequired--includestringrequired--input-filestring- path to a JSON file to use as command input
--[no-]dry-run- validate all inputs and exit without performing any action (preview changes without applying them)
--[no-]json-
output as JSON