All Products
Search
Document Center

Simple Log Service:LogtailPipelineConfig

Last Updated:Jun 11, 2026

Parameter

Type

Description

Example

object

The Logtail pipeline configuration.

configName

string

The name of the configuration.

test-config

logSample

string

The sample log.

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

global

object

The global configuration.

inputs

array

The data source plug-ins.

object

The data source plug-in.

{ "Type": "input_file", "FilePaths": [ "/home/**/*.log" ], "MaxDirSearchDepth": 10, "Multiline": { "StartPattern": "\\d+" }, "TailSizeKB": 1024 }

processors

array

The processing plug-ins.

object

The processing plug-in.

{ "Type": "processor_regex", "SourceKey": "content", "Regex": "(\\d+).*([^;])", "Keys": [ "k1", "k2" ] }

aggregators

array

The aggregation plug-ins.

object

The aggregation plug-in.

flushers

array

The data output plug-ins.

object

The data output plug-in.

{ "Type": "flusher_sls", "Logstore": "test_logstore", "Endpoint": "cn-hangzhou-intranet.aliyuncs.com", "Region": "cn-hangzhou", "FlowControlExpireTime": 2, "MaxSendRate": 3, "EnableShardHash": true, "TelemetryType": "log" }

createTime

integer

The creation time. The value is a UNIX timestamp.

1655176807

lastModifyTime

integer

The last modification time. The value is a UNIX timestamp.

1655176807

task

object

Task configuration.

{"Type": "task_example"}