Create a pattern duration for API call logs

You can create a pattern duration for API call logs.

Depending on your environment, follow this procedure either on the Services Configuration tab of the Collibra settings or in Collibra Console:

Important You can't edit the service configuration from the Settings page in the latest UI. If you use the latest UI, you can edit the service configuration only in Collibra Console. For more information, go to Collibra service configuration settings.

Prerequisites

Steps

  1. Open the Services Configuration page.
    1. On the main toolbar, click Products iconCogwheel icon Settings.
      The Collibra settings page opens.
    2. Click Services Configuration.
    3. Click Edit configuration.
    Open the DGC service settings for editing:
    1. Open Collibra Console.
      Collibra Console opens with the Infrastructure page.
    2. In the tab pane, expand an environment to show its services.
    3. In the tab pane, click the Collibra Platform service of that environment.
    4. Click Configuration.
    5. Click Edit configuration.
  2. In the API call logging section under Pattern duration list, click Add.
  3. In the new record, fill in the required fields.
    SettingDescription
    Enabled
    • True: API call logging is enabled for REST Core API v1 (deprecated) calls.
    • False (default): API call logging is disabled for REST Core API v1 (deprecated) calls.
    Maximum number of log entries (Requires restart)

    The maximum number of API calls to store in the component_call_logging database table. Once this number is reached, the oldest records are overwritten.

    The default value is 1,000,000.

    Pattern duration listThe list of methods and a corresponding minimum duration time. The minimum duration time is the minimum time before the method is stored in the database.
     Minimum duration
    The time in milliseconds that an API call must last before it is logged.
     Method pattern
    The method that you want to log in the database. For each pattern that you want to log, you have to add a new pattern.
  4. Click Save all.

What's next?

Restart the environment to apply your changes. For more information, go to Stop an environment and Start an environment.