Skip to main content
Contributor
June 3, 2010
Question

Disable log on all rules...

  • June 3, 2010
  • 4 replies
  • 2912 views
Hi Forum: I need to disable log setting in all rules. I have more than 600 rules and it is very tedious to do one by one. Is there any command to disable log on all rules? Thanks in advance and greetings, Olaf

    4 replies

    hidayet
    New Member
    June 3, 2010
    Hi Olaf, I' m not sure but I think this is not possible
    Carl_Wallmark
    New Member
    June 3, 2010
    Hi, you could do it like this: make a backup of your config, then use wordpad to " search-and-replace" and then restore your config, the firewall will reboot when restoring !!
    Contributor
    June 3, 2010
    Thanks for the tip. I don' t belive it' s not posible to disable all logs. It is very time consuming to disable them one by one and therefore there should be an easier way. The backup, replace and restore option is not viable in a 24x7 production environment because of the reboot times and missconfiguration issues. Fortinet, put your hands on this job... Thanks and best regards, Olaf
    Carl_Wallmark
    New Member
    June 3, 2010
    maybe a fortimanager can do the job, but i dont know. another way is to create a script, but that would take some time to create... im out of ideas
    SECCON1MC
    New Member
    June 3, 2010
    if you do not want to perform the backup restore method, you could: perform a backup of your config delete everything except the policy section of the config perform a search and replace of the log file setting save the text file upload the file as a Bulk CLI Command File there you are! Please make sue you have a backup of your config before you start this process. Good Luck ~Matt