LogtailPipelineConfig

名称类型描述示例值
object

Logtail 流水线配置

configNamestring

配置名称

test-config
logSamplestring

日志样例

127.0.0.1 - - [10/Jun/2022:12:36:49 +0800] "GET /index.html HTTP/1.1" 200
globalobject

全局信息

inputsarray<object>

输入插件

object

输入插件

{ "Type": "input_file", "FilePaths": ["/var/log/*.log"] }
processorsarray<object>

处理插件

object

处理插件

{ "Type": "processor_parse_json_native", "SourceKey": "content" }
aggregatorsarray<object>

聚合插件

object

聚合插件

flushersarray<object>

输出插件

object

输出插件

{ "Type": "flusher_sls", "Project": "test_project", "Logstore": "test", "Region": "cn-hangzhou", "Endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "TelemetryType": "log" }
createTimelong

创建时间,UNIX 时间戳

1655176807
lastModifyTimelong

最后修改时间,UNIX 时间戳

1655176807