mirror of
https://github.com/Security-Onion-Solutions/securityonion.git
synced 2025-12-06 17:22:49 +01:00
add auth log path for Centos
This commit is contained in:
@@ -179,12 +179,17 @@
|
||||
<log_format>syslog</log_format>
|
||||
<location>/var/ossec/logs/active-responses.log</location>
|
||||
</localfile>
|
||||
|
||||
%- if grains['os'] == 'Ubuntu' %}
|
||||
<localfile>
|
||||
<log_format>syslog</log_format>
|
||||
<location>/var/log/auth.log</location>
|
||||
</localfile>
|
||||
|
||||
{%- else %}
|
||||
<localfile>
|
||||
<log_format>syslog</log_format>
|
||||
<location>/var/log/secure</location>
|
||||
</localfile>
|
||||
{%- endif %}
|
||||
<localfile>
|
||||
<log_format>syslog</log_format>
|
||||
<location>/var/log/syslog</location>
|
||||
|
||||
Reference in New Issue
Block a user