Forum Discussion
Is there a way to set logging profile to all virtual servers using iControl REST?
Hey Guys,
Multiple ASM policies are configured and assigned to virtual servers. New SIEM platform is activated whose logg profiles need to be set.
What would be the possible causes to the device? CPU high or any impact to device performance.
Provide recommendation with this.
2 Replies
- Andrew-F5
Employee
== TMSH ==
tmsh modify ltm virtual all security-log-profiles add { Your\ log\ profile }
◘ You *must* use backslash on all spaces in the security log profile name.
== TMSH over REST ==
curl -sk -u 'admin:admin' -H 'Content-Type: application/json' -X POST \
-d '{"command": "run", "utilCmdArgs": "-c \"tmsh modify ltm virtual all security-log-profiles add { Log\\ all\\ requests\\ and\\ responses }\""}' \
https://<mgmtIP>/mgmt/tm/util/bash | jq .
◘ You *must* use *double* backslash on all spaces in the security log profile name.
- Rahul_More
Cirrus
Hi Andrew,
Many thanks for your response :-)
Actually there are two VIP configured for each application ,
1st: -- Virtual server for 443 services
2nd: -- Virtual server for redirection
How I can apply this only to Virtual Servers which has HTTPs services?
Recent Discussions
Related Content
* 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