Forum Discussion
Joao_Luis
Nimbostratus
Jan 27, 2023Problem to generate ASM reports using iControl REST API
I'm having trouble to use iControl API do generate BIG-IP reports. I need to connect to IControl API to collect reports of ASM statistics to feed an external tool with monitoring dasboards. I managed...
You can use the persist command (Click here) to specify how to persist the client, but you can't actually specify a custom persistence profile:
when HTTP_REQUEST {
Persist based on the requested URI (case-insensitive)
switch -glob [string tolower [HTTP::uri]] {
"/twenty*" {
Persist the client for 20 minutes based on source IP with /32 mask
persist source_addr 255.255.255.255 1200
}
"/sixty*" {
Persist the client for 60 minutes based on source IP with /32 mask
persist source_addr 255.255.255.255 3600
}
default {
Take some default action?
}
}
}
You should consider adding a OneConnect profile to the VIP when using a rule like this. (Click here) for details.
Aaron
- Nikoolayy1Mar 31, 2023
MVP
Did you manage to find the solution?
What about the article below as for a filter you can use not only the support id but also the request status etc. (what you see in the GUI basically).
K50284219: Exporting ASM Event Report in html using iControl Rest API
https://my.f5.com/manage/s/article/K50284219
Also in the link below I see only the urls that Joseph_Martin suggested to you https://clouddocs.f5.com/api/icontrol-rest/APIRef_tm_analytics.html