This topic might be out-of-date and is replaced by the following:

GET /api/1/rest/public/log/<orgname>?

Returns pipeline log information for the specified organization.

Parameters

Response

{
"response_map": {
     "entries": [
          "sort": [
              1426204801625
          ],
          "_type": "sldb",
          "_source": {
               "prc": "FSHandler",
               "tags": [
                    "sldb"
               ],
               "type": "sldb",
               "@timestamp": "2015-03-13T00:00:05.254Z",
               "ts": "2015-03-13T00:00:01.625514Z",
               "host": "canxl-sldb2.fullsail.snaplogic.com",
               "lvl": "INFO",
               "msg": "user@snaplogic.com put file Snaplogic-Test/projects/sltemp/asset.json",
               "fi": "fs_handler.py:139",
               "path": "/opt/snaplogic/run/log/sldb_main.json",
               "@version": "1"
          },
          "_score": null,
          "_index": "Snaplogic_v1",
          "_id": "T_f83xUSQ-WgahOpOVMyhQ"
     },
     ...],
     "total": 32747809,
     "limit": 10,
     "offset": 0
     },
"http_status_code": 200
}

Examples


Get Pipeline Log Information

The following queries return information about the specified pipeline runtime:

Scenario

Query

Return the log information for the given runtime ID

GET https://elastic.snaplogic.com/api/1/rest/public/log/orgname?ruuid= <runtimeid>

Return only 100 logs for the given runtime ID

GET https://elastic.snaplogic.com/api/1/rest/public/log/orgname?ruuid= <runtimeid>&limit=100