Splitting access_log in nginx

SYSTEM INFORMATION
OS type and version AlmaLinux 9.5
Webmin version 2.302
Virtualmin version 7.30.8
Webserver version Nginx 1.24.0
Related packages SUGGESTED

Default log log:
access_log /var/log/virtualmin/DOMEN_access_log main

I split the access_log:
access_log /var/log/virtualmin/DOMEN_google_access_log main if=$google_bot;
access_log /var/log/virtualmin/DOMEN_access_log main if=$loggable;
access_log /var/log/virtualmin/DOMEN_bad_bot_access_log main if=$bad_bot;

In the “menu virtual-server> Logs and report” only the first entry from nginx.conf with access_log will appear

I can view bad_bot_access via Favorites via System Log, but it is not convenient.
How can I make it so that when I split access_log , they all end up in the virtual-server> Logs and Reports menu?
Something like this DOMEN_*access_log

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.