Community Conundrum 25: Feature Visualization is now live! Read More

Logging information in API Deployer

Level 1
Logging information in API Deployer

Hi All,

I had few questions regarding logging process in DSS API deployer -

1. Are the logs of API runs (process started, payload, response etc.) captured in DSS API Deployer? If so, where can we find those logs?

2. Is there any API available which can be used to retrieve above logs information from DSS API Deployer?

 

Thanks

0 Kudos
1 Reply
Dataiker
Dataiker

Hi Anish,

When using API deployer to deploy endpoints to API node there are two main locations where you can find related logs:

run/backend.log - contains information about API deployer whenever you create or update a deployment.

run/apimain.log - contains information about queries being sent to the API 

 

On the design node you can use the following API to access the logs:

https://doc.dataiku.com/dss/api/7.0/rest/#dss-administration-platform-logs

 

For audit and query logging you may either reconfigure the default log4j properties or add logging to Kafka as described here:

https://doc.dataiku.com/dss/latest/apinode/operations/logging-audit.html

 

Regards

Andrey Avtomonov
R&D Engineer @ Dataiku
0 Kudos
Labels (1)