|
Parameter |
Type |
Description |
Example |
|---|---|---|---|
|
object |
The Logtail pipeline configuration. |
||
| aggregators |
array |
The aggregation plug-ins. |
|
|
object |
The aggregation plug-ins. |
{ "Type": "aggregator_shardhash", "SourceKeys": [ "__source__" ] } |
|
| configName |
string |
The configuration name. |
test-config |
| createTime |
integer |
The creation time, in UNIX timestamp format. |
1655176807 |
| flushers |
array |
The output plug-ins. |
|
|
object |
The output plug-ins. |
{ "Type": "flusher_sls", "Project": "test_project", "Logstore": "test", "Region": "cn-hangzhou", "Endpoint": "cn-hangzhou-intranet.log.aliyuncs.com", "TelemetryType": "log" } |
|
| global |
object |
The global information. |
{ "TopicType": "custom", "TopicFormat": "aaa", "EnableAlwaysOnline": true, "EnableTimestampNanosecond": true, "UsingOldContentTag": true } |
| inputs |
array |
The input plug-ins. |
|
|
object |
The input plug-ins. |
{ "Type": "input_file", "FilePaths": ["/var/log/*.log"] } |
|
| lastModifyTime |
integer |
The last modification time, in UNIX timestamp format. |
1655176807 |
| logSample |
string |
The log sample. |
127.0.0.1 - - [10/Jun/2022:12:36:49 +0800] "GET /index.html HTTP/1.1" 200 |
| processors |
array |
The processing plug-ins. |
|
|
object |
The processing plug-ins. |
{ "Type": "processor_parse_json_native", "SourceKey": "content" } |
|
| task |
object |
The task configuration. |
{"Type": "task_example"} |