跳转至

Agent-level filesystem(代理级文件系统(Agent-level filesystem))

Files stored on disk on an agent can be synced into Foundry using the filesystem source type.

This source type can be used to sync data from a Network File System ↗ (NFS) or Network-attached storage ↗ (NAS) to Foundry, by mounting the NFS or NAS on the agent host and configuring the root directory appropriately.

Supported capabilities

Capability Status
Exploration 🟢 Generally available
Bulk import 🟢 Generally available
Incremental 🟢 Generally available
File exports 🟢 Generally available

Configuration

Parameter Required? Default Description
rootDirectory Y Root directory containing data.
fileMustNotChangeDuration N PT2.0S Amount of time (in ISO-8601 ↗) a file must remain constant before being considered for upload.
Note: If possible, use the more efficient lastModifiedBefore processor.

Example:

myDirectorySource:
    type:           directory
    rootDirectory:  /foo/bar

:::callout{theme="neutral"} Data Connection excludes all symbolic links, regardless of whether the links are to files or to folders. :::


中文翻译

代理级文件系统(Agent-level filesystem)

存储在代理(agent)磁盘上的文件可以通过文件系统源类型同步到Foundry。

该源类型可用于将网络文件系统(Network File System) ↗ (NFS)或网络附加存储(Network-attached storage) ↗ (NAS)中的数据同步到Foundry,方法是将NFS或NAS挂载到代理主机上,并正确配置根目录。

支持的功能(Supported capabilities)

功能 状态
探索(Exploration) 🟢 正式可用(Generally available)
批量导入(Bulk import) 🟢 正式可用(Generally available)
增量同步(Incremental) 🟢 正式可用(Generally available)
文件导出(File exports) 🟢 正式可用(Generally available)

配置(Configuration)

参数 是否必填 默认值 描述
rootDirectory 包含数据的根目录。
fileMustNotChangeDuration PT2.0S 文件在被视为可上传之前必须保持不变的时长(采用ISO-8601 ↗格式)。
注意:如有可能,请使用更高效的lastModifiedBefore处理器。

示例:

myDirectorySource:
    type:           directory
    rootDirectory:  /foo/bar

:::callout{theme="neutral"} Data Connection会排除所有符号链接,无论这些链接指向的是文件还是文件夹。 :::