Forum Discussion
Philipp_Stadler
Nimbostratus
Apr 03, 2018API calls to analytics not working
Hi, I'm using v13 and trying to get information from analytics module via REST API. The first call to
https://bigip/mgmt/tm/analytics/asm-enforced-entities/report?options=view-by,policyworks fine and I get a list of Policies with the count of enforced Entities:
{
"kind": "tm:analytics:asm-enforced-entities:report:reportstats",
"selfLink": "https://localhost/mgmt/tm/analytics/asm-enforced-entities/report?options=view-by%2Cpolicy&ver=13.1.0.1",
"entries": {
"https://localhost/mgmt/tm/analytics/asm-enforced-entities/report/~TEST~asm_test": {
"nestedStats": {
"entries": {
"enforcedEntitiesCount": {
"description": "55"
},
"tmName": {
"description": "/TEST/asm_test"
}
}
}
}, ....But when I try to get detailed information with the Link from the reply:
https://bigip/mgmt/tm/analytics/asm-enforced-entities/report/~TEST~asm_testthe call fails:
{
"code": 400,
"message": "Found unexpected URI tmapi_mapper/analytics/asm-enforced-entities/~TEST~asm_test.",
"errorStack": [],
"apiError": 1
}I've tried it without the Partition without success.
I have the same issue with
https://labdemo1/mgmt/tm/analytics/asm-learning-suggestions/report?options=view-by,policyCan anyone help or resolved the same issue?
regards, Philipp
No RepliesBe the first to reply
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)Recent Discussions
Related Content
DevCentral Quicklinks
* Getting Started on DevCentral
* Community Guidelines
* Community Terms of Use / EULA
* Community Ranking Explained
* Community Resources
* Contact the DevCentral Team
* Update MFA on account.f5.com
Discover DevCentral Connects
