ti fs-journal create-journal
Creates a journal. If --journal-id is omitted, the service generates one.
Syntax
ti fs-journal create-journal
[--actor <string>]
[--dry-run]
[--file-system-id <string>]
[--fs-token <string>]
[--help]
[--journal-id <string>]
[--journal-kind <string>]
[--label <string>]
[--title <string>]
[--version]
Options
--actor <string>: Actor in the formtype:id.--dry-run: Validate the request without applying changes.--file-system-id <string>: Select the file system. You can also setTI_FS_FILE_SYSTEM_ID.--fs-token <string>: Set the file system user token. If omitted, usesTI_FS_TOKEN.--help: Display help information.--journal-id <string>: Journal ID; generated when omitted.--journal-kind <string>: Journal kind. [default: agent]--label <string>: Journal labelkey=value; repeatable.--title <string>: Journal title.--version: Display version information.
For options shared by all commands, see Global options.
Examples
Create an agent journal:
# Create an append-only journal for one agent task. ti fs-journal create-journal --file-system-id <file-system-id> --journal-id jrn-demo --journal-kind agent --title "demo task"Create a labeled deployment journal:
# Attach actor and environment metadata for later searches. ti fs-journal create-journal --file-system-id <file-system-id> --journal-kind deployment --actor agent:ti --label env=dev