Skip to Content
0
Jun 30, 2022 at 01:50 PM

cds.env.log.users is not working for CAP Kibana config

199 Views Last edit Jun 30, 2022 at 01:59 PM 4 rev

Hi experts

I bound my CAP app to SAP Logging Service to see the logs and metrics on Kibana Dashboard, it seems it's working but I changed my package.json by adding this to link remote_user to req.user.id, but it seems it's now working, on CAP documentation capire - Minimalistic Logging Facade (cloud.sap) it says that by adding this should work, but it isn't

 "cds": {    "log": {      "user": true    },

I installed @sap/cds version 6.14

also I have configured this on package.json

  "features": {     "kibana_formatter": true  }

Any idea?

image.png

Best regards,

Sara

Attachments

image.png (17.4 kB)