BEST
DEALS
OF THE
YEAR!
SAVE UP TO $3,000
24 NOV
1 DEC
00 Days
00 Hrs
00 Min
00 Sec
Open Closed

How to implement client id filtering in audit log #6900


User avatar
0
dev@veek.vn created

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)
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    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.

  • User Avatar
    0
    dev@veek.vn created

    the api: /api/audit-logging/audit-logs

  • User Avatar
    0
    dev@veek.vn created

    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;
    }
    
  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    hi

    We will add ClientId parameter to query the audit logs in next version.

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    https://github.com/abpframework/abp/issues/19346

  • User Avatar
    0
    dev@veek.vn created

    ok thanks

  • User Avatar
    0
    maliming created
    Support Team Fullstack Developer

    : )

Boost Your Development
ABP Live Training
Packages
See Trainings
Mastering ABP Framework Book
The Official Guide
Mastering
ABP Framework
Learn More
Mastering ABP Framework Book
Made with ❤️ on ABP v10.1.0-preview. Updated on November 20, 2025, 09:12
1
ABP Assistant
🔐 You need to be logged in to use the chatbot. Please log in first.