F5 BIG-IQ Centralized Management Lab > BIG-IQ All Labs > Class 1: BIG-IQ Application Management and AS3 > Module 2: BIG-IQ Application Templates & Deployment with AS3 using the API Source | Edit on
Lab 2.6: Enable/Disable Enhanced Analytics via API for AS3 apps on BIG-IQ¶
Note
Estimated time to complete: 5 minutes
Lab environment access¶
If you have not yet visited the page Getting Started, please do so.
Tasks¶
Using Visual Studio Code REST client, you can turn Enhanced Analytics on/off directly by updating below attributes within your AS3 declaration:
1 2 3 4 5 6 7 8 9 10 11 12 | "statsProfile": {
"class": "Analytics_Profile",
"collectClientSideStatistics": true/false,
"collectGeo": true/false,
"collectMethod": true/false,
"collectOsAndBrowser": true/false,
"collectSubnet": true/false,
"collectUrl": true/false,
"collectIp": true/false,
...
}
|
Note
For more details on the Analytics profile, look at the AS3 schema.