Get pipeline definition for a log type
GET/v1/sawmill/log-type-pipeline/logType
Receive pipeline definition for a given log type, if the definition is already stored. Please ensure to change the region in the URL to match your account's region.
Request
Path Parameters
logType stringrequired
Log type that you need to retrieve a Sawmill pipeline for. If no parsing has been applied to this log type, 404 error will be given.
Responses
- 200
- 404
successful operation
- application/json
- Schema
Schema
object
pipeline not found for this log type
- application/json
- Schema
- Example (from schema)
Schema
object
[
{
"errorCode": "SAWMILL_SELF_PARSE/PIPELINE NOT FOUND",
"message": "log type with name (logType) not found",
"parameters": [
{
"logTypeName": "SampleLogType"
}
]
}
]
Loading...