Forum Discussion
GTM Logging
Hi, Is there any way to log load balancing decisions of GTM either locally or remotely through HSL?
6 Replies
- Pranav_73262
Nimbostratus
TMOS v 11.3 - Hamish
Cirrocumulus
You mean each query, and what the result is?
Yes... There's an (LTM) iRule that does translations from your own internal addrssing to external NAT's. That logs what was requested and what's returned (It uses the info in the DNS request & response).
Or did you want something more in depth? With various GTM info such as the GTM pool whether it was persisted etc?
- Kevin_K_51432Historic F5 Account
- Pranav_73262
Nimbostratus
Thanks.
- bwolmarans_1284Historic F5 Account
If you would like to (temporarily, not for production, for debugging and development only becuase it will impact performance) you will need to have it log to syslog instead of the mysql database. By default it logs to the mysql so it can show up in AVR, but this is if you want it in the /var/log/ltm instead:
for example in 11.6
-
create a new logging profile under system->log->settings->profile named local-syslog
-
create a new dns profile under dns->delivery and enable logging and all logging options and the destination to be the profile you created in step 1
-
create a dns listener (or use the listener you already have) and enable the logging profile you created in step 2
-
- bwolmarans_1284Historic F5 Account
log messages will show complete decision as per https://support.f5.com/kb/en-us/products/big-ip_gtm/manuals/product/gtm-implementations-11-4-0/16.html
Of course, you can create a HSL pool that is better, my instructions are just for simple debugging.
Help guide the future of your DevCentral Community!
What tools do you use to collaborate? (1min - anonymous)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