Suricata logs: Move to a new location
- 
pfSense Version: 2.7.2
Suricata version: 7.0.8I can't for the life of me figure out how to move Suricata logs to another location. Every time I try to change the 'default-log-dir' in suricata.yaml it gets reset when I restart the Suricata service. Any help would be appreciated.
 - 
This is not supported in the package. The logging directory is hard-coded to
/var/log/suricata.You should never directly modify the
suricata.yamlfile because it is recreated each time you save a change in the GUI or stop/start the service in the GUI. The configuration values are stored inconfig.xmland written to a freshsuricata.yamlfile each time the service starts or a change is saved.BTW, that's how all packages work in pfSense. You don't make changes directly in the filesystem as all critical conf files are created by the GUI PHP code and any user changes will get overwritten.
 - 
@bmeeks That would explain it. Thank you.