跳到主要内容
版本:1.x

File

Input plugin : File

Description

Read raw data from local file system.

Options

nametyperequireddefault value
formatstringyesjson
pathstringyes-
table_namestringyes-
format [string]

The input data source format.

path [string]

File path.

table_name [string]

Registered table name of input data.

Example

file {
path = "file:///var/log/access.log"
table_name = "access"
format = "text"
}