/processes/{id}/log/search[ GET ]

Search in process log. 

URL Parameters

Name Optional Valid values
id No Identifier of an existing process (e.g. GDSWtBEHqIw)

Name Optional Valid values
start No Integer: search log entries from a start position (sort by dates, oldest log first)
limit No Integer: max entries to fetch in each call, default is unlimited.
filter No Filter may include the following parameters:
  • level : string, thelog level [info, error, warn. fatal, debug]
  • generic : string, free search pattern (checks in process logs and properties)

Request Examples    

# fetch the first error log if found

curl -k -u admin:admin -X POST -H "Content-Type: application/json" -d '{
  "start" : 0,
  "limit" : 1,
  "filter": {
     "level": "error"
}' https://OPERETOHOST/processes/xGu1hWwUKsk/log/search


Response Examples     

  "status": "success",
  "data": [
      "source": "xGu1hWwUKsk",
      "text": "Process ended with failure.",
      "level": "error",
      "id": "AVknigAuPKvavxUV7VT8",
      "ts": 1482427070