Bir Logtail işlem hattı yapılandırmasını getirir.
Operation description
The UK (London) region is supported. Supported regions are constantly updated.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
log:GetLogtailPipelineConfig |
get |
*All Resource
|
|
None |
Request syntax
GET /pipelineconfigs/{configName} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| configName |
string |
Yes |
Logtail işlem hattı yapılandırmasının adı. |
test-config |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| project |
string |
Yes |
Projenin adı. |
test-project |
Response elements
|
Element |
Type |
Description |
Example |
| LogtailPipelineConfig |
Logtail işlem hattı yapılandırması. |
Examples
Success response
JSON format
{
"aggregators": [
{
"test": "test",
"test2": 1
}
],
"configName": "test-config",
"createTime": 1655176807,
"flushers": [
{
"Type": "flusher_sls",
"Project": "test_project",
"Logstore": "test",
"Region": "cn-hangzhou",
"Endpoint": "cn-hangzhou-intranet.log.aliyuncs.com",
"TelemetryType": "log"
}
],
"global": {
"test": "test",
"test2": 1
},
"inputs": [
{
"Type": "input_file",
"FilePaths": [
"/var/log/*.log"
]
}
],
"lastModifyTime": 1655176807,
"logSample": "127.0.0.1 - - [10/Jun/2022:12:36:49 +0800] \"GET /index.html HTTP/1.1\" 200",
"processors": [
{
"Type": "processor_parse_json_native",
"SourceKey": "content"
}
],
"task": {
"Type": "task_example"
}
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.