Layer7 API Management

  • 1.  Automate enabling/disabling of Audit Sink Policy

    Posted 4 days ago

    Can you please guide me , how to schedule enabling/disabling of "Audit Sink policy" using Manage Scheduled Tasks.

    Expectation is to disable the "Audit Sink policy" at specific time during the day (to store the logs in gateway database)  and re-enable back at specific time to (store the logs to external database). This need to happen without manual intervention.  Thanks!



  • 2.  RE: Automate enabling/disabling of Audit Sink Policy

    Posted 3 days ago
    Edited by Vince Baker 3 days ago

    Hi,

    I've not looked into other ways, but how about calling Restman to reconfigure your audit config on demand?

    It could be as easy as calling restman to switch the audit config CWPs to only log SEVERE messages during certain times etc.

    Regards

    Vince



    ------------------------------
    Principal Architect
    Apiida AG
    https://www.apiida.com
    ------------------------------