Skip to main content

tctl v1.17 cluster command reference

The tctl cluster command enables Temporal ClusterLink preview iconWhat is a Temporal Cluster?

A Temporal Cluster is the Temporal Server paired with persistence.

Learn more operations.

get-search-attributes

The tctl cluster get-search-attributes command lists all Search AttributesLink preview iconWhat is a Search Attribute?

A Search Attribute is an indexed name used in List Filters to filter a list of Workflow Executions that have the Search Attribute in their metadata.

Learn more that can be used in the --query modifier of the tctl workflow listLink preview icontctl workflow list

How to list open or closed Workflow Executions using tctl.

Learn more command and the --search_attr_key and --search_attr_value modifiers of the tctl workflow runLink preview icontctl workflow run

How to start a new Workflow Execution and get Workflow progress using tctl.

Learn more and tctl workflow startLink preview icontctl workflow start

How to start a new Workflow Execution using tctl.

Learn more commands.

Example:

tctl cluster get-search-attributes

The command has no modifiers.

Example output:

+-----------------------+----------+
| NAME | TYPE |
+-----------------------+----------+
| BinaryChecksums | Keyword |
| CloseTime | Int |
| CustomBoolField | Bool |
| CustomDatetimeField | Datetime |
| CustomDoubleField | Double |
| CustomIntField | Int |
| CustomKeywordField | Keyword |
| CustomNamespace | Keyword |
| CustomStringField | String |
| ExecutionStatus | Int |
| ExecutionTime | Int |
| Operator | Keyword |
| RunId | Keyword |
| StartTime | Int |
| TaskQueue | Keyword |
| TemporalChangeVersion | Keyword |
| WorkflowId | Keyword |
| WorkflowType | Keyword |
+-----------------------+----------+

The admin version of this command displays default and custom Search Attributes separately, and also shows the underlying Elasticsearch index schema and system Workflow status.

health

The tctl cluster health command checks the health of the Frontend ServiceLink preview iconWhat is a Temporal Cluster?

A Temporal Cluster is the Temporal Server paired with persistence.

Learn more.

tctl cluster health

The command has no modifiers.