Retrieve Task Logs
This page is no longer maintained (Mar 29, 2023). For the most current information, go to https://docs.snaplogic.com/public-apis/get-log-org.html.
Â
GET /log/{org}
Overview
This API retrieves the Task log information for the specified Org.
Prerequisites
Read access to the requested assets
Request
Path Parameters
Key | Description |
---|---|
| Required. The path to your SnapLogic pod. Example: |
| Required. The name of the SnapLogic Org. |
Query Parameters
Key | Type | Description |
---|---|---|
| string | Required. Returns log information about the task with the specified runtime ID. |
| string | Returns log information at the specified level of detail. Valid values:
Default: |
| integer | Returns no more than the specified number of results. You can use Valid values: 1 through 100,000 Default: 100 |
Request Header
Specify Basic
for authorization and application/json
for content type.
Request Body
None.
Response
Response Body
{
"response_map": {
"extra": {},
"total": ...,
"entries": [
{
"_source": {
"msg": "...",
"lvl": "...",
"ts": "...",
"prc": "...",
"fi": "..."
}
},
...
{
"_source": {
"xid": "...",
"snrd": "...",
"prc": "...",
"linid": "...",
"ts": "...",
"plrd": "...",
"fi": "...",
"msg": "...",
"lvl": "...",
"snlb": "...",
"exc": "..."
}
}
]
},
"http_status_code": 200
}
Key | Type | Description |
---|---|---|
| object | Â |
| integer | The number of log entries returned. |
| array of objects | Metadata about the source of each log entry.
If
|
Â
Have feedback? Email documentation@snaplogic.com | Ask a question in the SnapLogic Community
© 2017-2024 SnapLogic, Inc.