Vinne73
Mar 24, 2023Cirrus
Solved
IRest - ltm - get measures in an analytics report
Hi, I'm trying to get specific measures via iREST. This is something that can be done easily via tmsh but i need iRest now. This URL works: https://...hostname.../mgmt/tm/analytics/http/report?opt...
- Mar 26, 2023
I fixed my own problem. The value for "measures" needs to be in curly brackets. However, you can't just use:
https://...hostname.../mgmt/tm/analytics/http/report?options=view-by,virtual,limit,1,measures,{a,b}
Curly brackets are URL unsafe, and my clients didn't escape them by default. Maybe because they were in the query part? When I did the escaping myself, it worked.
Note:
{ == %7B
} == %7D
A working example:
Best regards
Vincent