.dup-next-failed-ingest 命令

使用 “版本 ”下拉列表切换服务。 了解有关导航的详细信息
适用于:✅ Azure Data Explorer

使用 .dup-next-failed-ingest 命令对数据引入流进行临时故障排除。

.dup-next-failed-ingest 将监视下一个引入的失败情况。 如果下一次引入失败,成功下载的引入源文件和包含引入请求元数据的文件将上传到指定的storage容器。 由于此命令仅监视一次后续引入,因此每次你要监视下一次引入时都运行此命令。

文件上传到storage容器,引入由同一节点执行。 该命令对单个引入操作生效,并且没有持久性状态,因此,如果管理节点在命令执行与下一个引入之间发生更改,则你需要重新运行命令。 观看storage容器,了解复制何时完成。

注意

  • 此命令在特定数据库的上下文中运行。
  • Azure blob 容器支持storage。

权限

必须至少具有 Database Admin 权限才能运行此命令。

语法

.dup-next-failed-ingest into TableNametoStorageContainerPath

详细了解语法约定

参数

客户 类型 必需 说明
TableName string ✔️ 将从中复制下一个引入的表的名称。
StorageContainerPath string ✔️ 用于存储重复数据的 blob 容器的路径。 建议在路径前加上“h@”以隐藏敏感信息。 若要了解详细信息,请参阅经过模糊处理的字符串字面量

返回

提供的 TableName、StorageContainerPath 和 IngestionCommandFilePath。 引入命令文件路径是引入文件请求在 Blob 容器中的位置。

在进行下一个拉取数据引入时,引入源文件和包含元数据的文件将上传到 blob 容器。

示例

.dup-next-failed-ingest into PerfCounter to h@'https://kustorenginsomelocation.blob.core.chinacloudapi.cn/ingestion-duplication-perf-counter;storagekey...==

.dup-next-failed-ingest into PerfCounter to h@'https://kustorenginsomelocation.blob.core.chinacloudapi.cn/ingestion-duplication-perf-counter?<SAS key that allows write>

TableName StorageContainerPath IngestionCommandFilePath
PerfCounter https://kustorenginsomelocation.blob.core.chinacloudapi.cn/ingestion-duplication-perf-counter ingestionrequest-KustoEH-PerfCounter-083736db-8cf7-4166-85fd-74ef54e491d1