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
- You have the ADMIN or SUPER role in Collibra Console.
- You have a global role that has the Product Rights > System administration global permission.
- The Services Configuration tab is available in the Collibra settings.
Steps
-
Open the Services Configuration page.
-
On the main toolbar, click
→
Settings.
The Collibra settings page opens. - Click Services Configuration.
- Click Edit configuration.
Open the DGC service settings for editing:- Open Collibra Console.
Collibra Console opens with the Infrastructure page. - In the tab pane, expand an environment to show its services.
- In the tab pane, click the Collibra Platform service of that environment.
- Click Configuration.
- Click Edit configuration.
-
On the main toolbar, click
- In the API call logging section under Pattern duration list, click Add.
- In the new record, fill in the required fields.
Setting Description 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 list The 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. - 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.