List Logs
Query over every log generated by PlusAuth belongs to your tenant.
DateMath Reference:
If you are used to ElasticSearch, Kibana or Grafana date math queries, than you can ignore this section as PlusAuth includes same characteristics with them. The expression starts with an anchor date, which can either be now
, or a date string ending with ||
. This anchor date can optionally be followed by one or more maths expressions:
+1h
: Add one hour-1d
: Subtract one day/d
: Round down to the nearest day The supported units are:
Time Unit | Duration |
---|---|
y | Years |
M | Months |
w | Weeks |
d | Days |
h | Hours |
H | Hours |
m | Minutes |
s | Seconds |
Assuming now
is 2001-01-01 12:00:00
, some examples are:
Expression | Description | Resolves To |
---|---|---|
now+1h | now in milliseconds plus one hour | 2001-01-01 13:00:00 |
now-1h | now in milliseconds minus one hour | 2001-01-01 11:00:00 |
now-1h/d | now in milliseconds minus one hour, rounded down to UTC 00:00 | 2001-01-01 00:00:00 |
Query Parameters
Filter logs occurred after this date. This can be a datetime string or date math expression.
Page number of records you wish to skip before selecting records. Final skipped records count would be limit * offset
.
Retrieve logs belongs to one or more operation. Comma separated. Ex.: authorization.error,create.user
Filter logs occurred until this date. This can be a datetime string or date math expression.