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?ago1h&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": [
        {
            "eventId": 112, 
            "message": "User 'admin' logged into the system", 
            "metadata": {
                "admin": "admin"
            }, 
            "timestamp": 1352996174703
        }
    ]
}