Event Log¶
Methods for retrieving or exporting an account’s EventLog
GetEventLog¶
Retrieve event log entries for the account, ordered by creation time.
- days: The number of days prior to today from which to fetch log entries.
- limit: The maximum number of results returned by the method. It defaults to 1000.
- offset: The offset inside the list of results.
For example, the following returns the last 7 days for event log entries in the account, limiting the result to 100 entries:
?action=GetEventLog&days=7&limit=100The method returns a JSON representation of the log entries returned:
[{"creation_time": u'2014-09-16T18:37:45Z', "entity_id": 2, "entity_name": u"WebServer1", "entity_type": u"Computer", "id": 1, "message": u"Added tag 'apache' to computer 'WebServer1'", "person_id", 3, "person_name": u"John Smith"}, ... ]