Skip to Content
Oct 07, 2021 at 01:24 PM

How can I log remote_user in Kibana when using cds.log in a CAP application?

468 Views Last edit Oct 11, 2021 at 08:32 AM 12 rev

There are 3 (!) different packages provided by SAP for logging in CF, yet CAP does not seem to use any of them:

The screenshot of the documentation on CAP + Kibana is showing remote_user to be empty. The logging packages above require different configuration parameters to be set in order to log the I tried by setting env LOG_REMOTE_USER=true like it's documented for cf-nodejs-logging-support and I also tried setting XS_LOG_USER=true like it's documented for @sap/logging, both have no effect.

Please add documentation on how this can be filled (based on using cds.log in CAP.