hi,
I want to create a custom audit log for a client. How can I reuse the audit log on the settings page? Also, I want to filter the audit log by client ID, but the input for getting the audit log does not have a client property. Please help me with that.
ABP Framework version: v.7.3.2 UI Type: Angular Database System: MongoDB Tiered (for MVC) or Auth Server Separated (for Angular): yes Exception message and full stack trace: Steps to reproduce the issue:
7 Answer(s)
-
0
hi
but the input for getting the audit log does not have a client property. Please help me with that.
Can you share which input class? And what API endpoint?
Thanks.
-
0
the api: /api/audit-logging/audit-logs
-
0
input class:
export interface GetAuditLogListDto extends PagedAndSortedResultRequestDto { startTime?: string; endTime?: string; url?: string; userName?: string; applicationName?: string; clientIpAddress?: string; correlationId?: string; httpMethod?: string; httpStatusCode?: number; maxExecutionDuration?: number; minExecutionDuration?: number; hasException?: boolean; }
-
0
hi
We will add
ClientId
parameter to query the audit logs in next version. -
0
https://github.com/abpframework/abp/issues/19346
-
0
ok thanks
-
0
: )