cancel
Showing results for 
Search instead for 
Did you mean: 

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

smorenod
Explorer
0 Kudos

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?

Best regards,

Sara

View Entire Topic
smorenod
Explorer
0 Kudos

Fixed by adding LOG_REMOTE_USER: true to environment variables