cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

DMI Rest calls not working on DCRUM2017 / NAM Server 2018

Hi,

Customer has integration with Splunk, pulling at regular interval data from CAS/NAM server through the REST interface. This was working fine on DCRUM 12.4. Since the upgrade to DCRUM 2017 and on a NAM sever 2018 (in acceptance) the current URL/queries are not working.

URLs used:

Rum Data:
https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=Tier&dimensionIds=[%27bgAppl%27]&metricIds=...

Synthetic Data:

https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=Trans&dimensionIds=[%27bgAppl%27]&metricIds...

https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=ClientView&dimensionIds=[%27bgAppl%27,%27ap...



4 REPLIES 4

The "GET" method does not work anymore with newer releases. You need to use the "POST" method with getDMIData3 now.


It works until the moment I start using [%27Value%27]


One thing to keep in mind is that now a token is needed for authentication.
In the header need:

content-type: application/json

authorization: Bearer <api token made from new entry in NAM Console>




After contact with support it was concluded that there was some syntax error within the queries lacking some URL encoding like [ to %5B and ] to %5D. The REST queries have been corrected and tested with a NAM 2019 server and they work:

Rum Data

https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=Tier&dimensionIds=%5B%27bgAppl%27%5D&metric...


Synthetic Data

https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=Trans&dimensionIds=%5B%27bgAppl%27%5D&metri...


https://apm/rest/dmiquery/getDMIData3?appId=CVENT&viewId=ClientView&dimensionIds=%5B%27bgAppl%27,%27...