cancel
Showing results for 
Search instead for 
Did you mean: 

Correlate BTP Audit Log Viewer values with actual values

omata_sap
Explorer
0 Kudos
168

The logs can be viewed using the BTP Audit Log Viewer, as shown below.

Here, "tenant", "org_id" and "space_ID" show different values from those seen in BTP Cockpit.

How can I link the values displayed in the log to the values seen in BTP Cockpit?

    "message_uuid": "e3a533c1-57b3-42b5-b514-8934ec5b6a6a",
    "time": "2018-10-04T08:12:00.239Z",
    "tenant": "c6da83a8-dc72-4374-b8f7-42b37a99",
    "org_id": "82f1da92-e5b3-4cc5-8c90-964165af",
    "space_id": "82f1da92-e5b3-4cc5-8c90-964165a",
    "app_or_service_id": "5fb40c3a-d36a-42c7-adc8-e4abd83d",
    "als_service_id": "c18f9b6d-a8af-431c-a187-749ebc59",
    "user": "test",
    "category": "audit.security-events",
    "format_version": "",
    "message": {
        "uuid": " e3a533c1-57b3-42b5-b514-8934ec5b6a6a ",
        "user": "test",
        "time": "2018-10-04T08:12:00.239Z",
        "ip": "10.58.183.15",
        "data": "{\"level\":\"INFO\",\"origin\":null,\"msgNo\":1,\"msgId\":\"a2cf08ee-eedd-455b-bbd6-    400d6b611116\",\"message\":\"ClientAuthenticationSuccess ('Client authentication success'): principal=sb-40ae21f3-5034-40dd-ac0d-0c9d3e0ebb06!b3034|auditlog-management!b3034, origin=[remoteAddress=52.58.183.15, clientId=sb-40ae21f3-5034-40dd-ac0d-0c9d3e0ebb06!b3034|auditlog-management!b3034], identityZoneId=[c6da83a8-dc72-4374-b8f7-42b37a99db2b]\",\"user\":null,\"version\":\"1.0\"}",
        "id": "cb046a0f-cc23-406b-a1d2-22ee6cf89a4d",
        "category": "audit.security-events",
        "tenant": "c6da83a8-dc72-4374-b8f7-42b37a99"
      }
}

Accepted Solutions (0)

Answers (1)

Answers (1)

yogananda
Product and Topic Expert
Product and Topic Expert
0 Kudos

omata_sap

you can get the actual name of org and space through command line and then you can do mapping in wherever

cf orgs

cf spaces

omata_sap
Explorer
0 Kudos

Hi Yogananda,

Thank you for your comment.

I understood that I could get the list with the command you taught me.

However, What I wanted to know is how to match the "org_id" in the "results" on this page with the name I can get from "cf orgs".

https://help.sap.com/docs/btp/sap-business-technology-platform/audit-log-retrieval-api-usage-for-sub...- environment? locale=en-US

Regards,