sfctl 事件sfctl events

如果 EventStore 服務已安裝) ,請從事件存放區取出事件 (。Retrieve events from the events store (if EventStore service is already installed).

您可以透過將設定升級至任何執行 >= 6.4 的 SFRP 叢集,將 EventStore 系統服務新增至其中。The EventStore system service can be added through a config upgrade to any SFRP cluster running >=6.4. 請檢查下列 url : HTTPs : //docs.microsoft.com/azure/service-fabric/service-fabric-diagnostics-eventstore。Please check the following url: https://docs.microsoft.com/azure/service-fabric/service-fabric-diagnostics-eventstore.

命令Commands

命令Command 描述Description
所有應用程式-清單all-applications-list 取得所有應用程式相關事件。Gets all Applications-related events.
所有節點-清單all-nodes-list 取得所有節點相關事件。Gets all Nodes-related Events.
所有磁碟分割-清單all-partitions-list 取得所有資料分割相關的事件。Gets all Partitions-related events.
所有服務-清單all-services-list 取得所有服務相關事件。Gets all Services-related events.
應用程式清單application-list 取得與應用程式相關的事件。Gets an Application-related events.
群集-清單cluster-list 取得所有叢集相關事件。Gets all Cluster-related events.
節點清單node-list 取得節點相關事件。Gets a Node-related events.
磁碟分割-所有複本-清單partition-all-replicas-list 取得資料分割的所有複本相關事件。Gets all Replicas-related events for a Partition.
分割區清單partition-list 取得資料分割相關的事件。Gets a Partition-related events.
資料分割-複本清單partition-replica-list 取得與資料分割複本相關的事件。Gets a Partition Replica-related events.
服務-清單service-list 取得服務相關事件。Gets a Service-related events.

sfctl 事件-應用程式-清單sfctl events all-applications-list

取得所有應用程式相關事件。Gets all Applications-related events.

回應是 ApplicationEvent 物件的清單。The response is list of ApplicationEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件所有節點-清單sfctl events all-nodes-list

取得所有節點相關事件。Gets all Nodes-related Events.

回應是 NodeEvent 物件的清單。The response is list of NodeEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件所有資料分割-清單sfctl events all-partitions-list

取得所有資料分割相關的事件。Gets all Partitions-related events.

回應是 PartitionEvent 物件的清單。The response is list of PartitionEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件所有服務-清單sfctl events all-services-list

取得所有服務相關事件。Gets all Services-related events.

回應是 ServiceEvent 物件的清單。The response is list of ServiceEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件應用程式-清單sfctl events application-list

取得與應用程式相關的事件。Gets an Application-related events.

回應是 ApplicationEvent 物件的清單。The response is list of ApplicationEvent objects.

引數Arguments

引數Argument 描述Description
--application-id [必要]--application-id [Required] 應用程式的身分識別。The identity of the application. 這通常是不含 'fabric:' URI 配置的完整應用程式名稱。This is typically the full name of the application without the 'fabric:' URI scheme. 從 6.0 版開始,階層的名稱會以 "~" 字元分隔。Starting from version 6.0, hierarchical names are delimited with the "~" character. 例如,如果應用程式名稱是 "fabric:/myapp/app1",則應用程式識別在 6.0+ 中會是 "myapp~app1",而在舊版中會是 "myapp/app1"。For example, if the application name is "fabric:/myapp/app1", the application identity would be "myapp~app1" in 6.0+ and "myapp/app1" in previous versions.
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件群集-清單sfctl events cluster-list

取得所有叢集相關事件。Gets all Cluster-related events.

回應是 ClusterEvent 物件的清單。The response is list of ClusterEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件節點清單sfctl events node-list

取得節點相關事件。Gets a Node-related events.

回應是 NodeEvent 物件的清單。The response is list of NodeEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--node-name [必要]--node-name [Required] 節點的名稱。The name of the node.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件分割區-全部複本-清單sfctl events partition-all-replicas-list

取得資料分割的所有複本相關事件。Gets all Replicas-related events for a Partition.

回應是 ReplicaEvent 物件的清單。The response is list of ReplicaEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--partition-id [必要]--partition-id [Required] 分割區的識別。The identity of the partition.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件分割區清單sfctl events partition-list

取得資料分割相關的事件。Gets a Partition-related events.

回應是 PartitionEvent 物件的清單。The response is list of PartitionEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--partition-id [必要]--partition-id [Required] 分割區的識別。The identity of the partition.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件分割區-複本清單sfctl events partition-replica-list

取得與資料分割複本相關的事件。Gets a Partition Replica-related events.

回應是 ReplicaEvent 物件的清單。The response is list of ReplicaEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--partition-id [必要]--partition-id [Required] 分割區的識別。The identity of the partition.
--replica-id [必要]--replica-id [Required] 複本的識別碼。The identifier of the replica.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.

sfctl 事件服務-清單sfctl events service-list

取得服務相關事件。Gets a Service-related events.

回應是 ServiceEvent 物件的清單。The response is list of ServiceEvent objects.

引數Arguments

引數Argument 描述Description
--結束時間-utc [必要]--end-time-utc [Required] 查閱查詢的結束時間(以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 為限 : ) : 。The end time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--service-id [必要]--service-id [Required] 服務的身分識別。The identity of the service. 此識別碼通常是不含 'fabric:' URI 配置的服務完整名稱。This ID is typically the full name of the service without the 'fabric:' URI scheme. 從 6.0 版開始,階層的名稱會以 "~" 字元分隔。Starting from version 6.0, hierarchical names are delimited with the "~" character. 例如,如果服務名稱是 "fabric:/myapp/app1/svc1",則服務識別在 6.0+ 中會是 "myapp~app1~svc1",而在舊版中會是 "myapp/app1/svc1"。For example, if the service name is "fabric:/myapp/app1/svc1", the service identity would be "myapp~app1~svc1" in 6.0+ and "myapp/app1/svc1" in previous versions.
--開始-時間-utc [必要]--start-time-utc [Required] 以 ISO UTC yyyy-mm-dd ddTHH MM ssZ 查閱查詢的開始時間 : : 。The start time of a lookup query in ISO UTC yyyy-MM-ddTHH:mm:ssZ.
--events-類型-篩選--events-types-filter 這是以逗號分隔的字串,指定應只包含在回應中的 FabricEvents 類型。This is a comma separated string specifying the types of FabricEvents that should only be included in the response.
--排除-分析-事件--exclude-analysis-events 如果傳遞 true,此參數會停用 AnalysisEvents 的抓取。This param disables the retrieval of AnalysisEvents if true is passed.
--略過相互關聯-查閱--skip-correlation-lookup 如果傳遞 true,此參數會停用 CorrelatedEvents 資訊的搜尋。This param disables the search of CorrelatedEvents information if true is passed. 否則,就會填入每個 FabricEvent 中的 [CorrelationEvents 進行處理] 和 [HasCorrelatedEvents] 欄位。otherwise the CorrelationEvents get processed and HasCorrelatedEvents field in every FabricEvent gets populated.
--timeout -t--timeout -t 用來執行作業的伺服器超時(以秒為單位)。The server timeout for performing the operation in seconds. 此超時時間指定用戶端願意等候要求的作業完成的持續時間。This timeout specifies the time duration that the client is willing to wait for the requested operation to complete. 此參數的預設值為60秒。The default value for this parameter is 60 seconds. 預設值: 60。Default: 60.

全域引數Global Arguments

引數Argument 描述Description
--debug--debug 增加記錄詳細資訊,以顯示所有偵錯記錄。Increase logging verbosity to show all debug logs.
--help -h--help -h 顯示此說明訊息並結束。Show this help message and exit.
--output -o--output -o 輸出格式。Output format. 允許的值:json、jsonc、table、tsv。Allowed values: json, jsonc, table, tsv. 預設值:json。Default: json.
--query--query JMESPath 查詢字串。JMESPath query string. 如需詳細資訊和範例,請參閱 http://jmespath.org/。See http://jmespath.org/ for more information and examples.
--verbose--verbose 增加記錄詳細資訊。Increase logging verbosity. 使用 --debug 來取得完整偵錯記錄。Use --debug for full debug logs.