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. Both parts are user-defined non-empty strings; the CLI convertstypeto lowercase.--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 Filesystem token. If omitted, the command uses theTI_FS_TOKENenvironment variable. If neither is provided, the command uses the local token stored for the selected Filesystem.--help: Display help information.--journal-id <string>: Journal ID; generated when omitted.--journal-kind <string>: User-defined journal category. It must contain 1 to 64 characters, start with a lowercase letter, and use only lowercase letters, digits, underscores (_), periods (.), or hyphens (-). [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