GET /api/domainaudit/search
Performs a search through the Domain Audit events based on the following optional QueryString parameters. If a parameter is not specified in the request the default value in this table is used.
| Parameter | Example Value | Default Value | Comment |
|---|---|---|---|
| ago | 1h | 24h | Specifying d / h / m allows multiples of days, hours, minutes |
| count | 10 | 100 | Upper number of events to return |
| beginId | 100 | 0 | Enter 0 or leave at default for unrestricted |
| endId | 299 | 0 | Enter 0 or leave at default for unrestricted |
| beginTimestamp | 1371678243665 | 0 | Enter 0 or leave at default for unrestricted |
| endTimestamp | 1371678253665 | 0 | Enter 0 or leave at default for unrestricted |
Example /api/domainaudit/search?ago=1h&count=10&beginId=100&endId=299
This will search for the last 10 User events in the last hour.
Message example is returned as a JSON string in the following format:
{
"events": [
{
"message": "Admin user 'admin' connected",
"eventId": 112,
"user": "admin",
"outcome": "success",
"additionalInfo": "",
"timeStamp": 1435934085927,
"metaData": {
"userID": "admin"
}
}
]
}