...
Log on to the SAP BTP cockpit.
Click on your SAP Cloud ALM global account, then on your SAP Cloud ALM sub-account.
In the navigation panel, choose Services > Instances and Subscriptions.
Under Instances click on the relevant instance of the service SAP Cloud ALM API
In the area that opens, choose Service Keys.
You see your service key in JSON format. The key includes the application URL, service URL, client ID, and client secret.
Note down the application url, service endpoint api, identityzone (tenant name), url, client id and client secret
...
Select metrics under sap-cpi
Fill out the details of you SAP CALM tenancy where:
SAP CALM tenant url = e.g. https://<tenant name>.<region>.alm.cloud.sap
e.g. https://mytenant.ap10.alm.cloud.sapSAP CALM token url = https://<tenant name>.authentication.<region>.hana.ondemand.com/oauth/token
e.g. https://mytenant.authentication.ap10.hana.ondemand.com/oauth/tokenClient Id = clientid
Client secret = clientsecret
CPI Service ID (LMS ID) = this is the CPI service ID which can be found in SAP Cloud ALM under:
Landscape Management → <CPI Service Name>
Choose the Output you wish to send the CPI Runtime Artifact data to
Click Save
The Input is now created
...
Configuration | Description | Required | Default Value | Comments |
---|---|---|---|---|
How frequently to poll for new data in seconds | How often the input will check for new report files | True | 60 |
|
Unique Identifier for the Input | A unique ID for the input | True |
| Spaces are not allowed |
Friendly name for the Input | Friendly name for the input | True |
|
|
System ID | System ID (or SID) of the system. The value of this field will be mapped to the source field in Splunk/Dynatrace and is used in dashboards for grouping related system events | True |
|
|
Lag in Seconds | How far behind the input will lag in seconds | True | 60 | This setting is to deal with SAP APIs that sometimes lag behind under high load |
Enable Data Collection | Enable / Disable the Input | True | True |
|
SAP CALM Tenant URL | The SAP Cloud ALM tenant url | True |
| This is the base tenant url without the path |
SAP CALM Token URL | The SAP Cloud ALM token URL | True |
| Must include /oauth/token |
Client ID | API Client ID | True |
|
|
Client Secret | API Client Secret | True |
|
|
CPI Service ID (LMS ID) | The Landscape ID of the CPI tenancy you wish to monitor in SAP CALM | True |