someone might have raised this before but I haven’t been able to find a definite answer.
We’re using Bigip LTM V9.3.1 to replace some of our reverse proxy / apache servers, and by default LTM logs everything to /var/log/ltm when using local0 facility. Is there a way, to create separate log files per virtual server or even per pool/node ?
This can be easily done in apache but I just haven’t seen any document on how to do this on Big-IP.
Based on this document (Click here starting with A single log message can be sent to different log files several times.), something like this should work (though I didn’t test it):
This assumes that the strings, vip1, vip2 and vip3 are included in each log statement for the related VIPs. You’d need to tailor the filter statements match (“vip”) to your environment.