Create a pattern duration for API call logs
You can create a pattern duration for API call logs.
Prerequisites
- You have the ADMIN or SUPER role in Collibra Console.
Steps
-
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 Data Governance Center service of that environment.
- Click Configuration.
- Click Edit configuration.
- Open Collibra Console.
- 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_loggingdatabase 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.
Restart the environment to apply your changes. For more information, go to Stop an environment and Start an environment.