Query with Features Field "limit"
Description
Apply limit to select the last N
messages.
Request
URI
POST /api/v1/messages/query
Payload
[
{
"entity": "nurswgvml007",
"limit": 2,
"startDate": "2016-06-16T00:00:00.000Z",
"endDate": "2016-06-18T00:00:00.000Z"
}
]
Response
Payload
[
{
"entity": "nurswgvml007",
"type": "default",
"source": "default",
"severity": "NORMAL",
"message": "NURSWGVML007 ssh: error: connect_to port 8883: failed.",
"date": "2016-06-17T08:03:14.232Z"
},
{
"entity": "nurswgvml007",
"type": "default",
"source": "default",
"severity": "NORMAL",
"message": "NURSWGVML007 ssh: error: connect_to port 8882: failed.",
"date": "2016-06-17T08:02:14.232Z"
}
]