The documentation says /etc/syslog.conf can allow for multiple hostname entries per line seperated by a comma, or I can drop a .conf in /etc/syslog.d/.
I can see the benifit of the above approach, but I want to allow an entire subnet the ability to use a centralized syslog server. Based on what I've read, this is only possible if I add a configuration option for each host in the subnet. ie:
Is there a way I can wildcard the host name? Do something like this?
Or even better this:
I can see the benifit of the above approach, but I want to allow an entire subnet the ability to use a centralized syslog server. Based on what I've read, this is only possible if I add a configuration option for each host in the subnet. ie:
Code:
+192.168.1.1
*.* /var/log/subnet.log
+192.168.1.2
*.* /var/log/subnet.log
+192.168.1.3
*.* /var/log/subnet.log
Is there a way I can wildcard the host name? Do something like this?
Code:
+192.168.1.0/24
*.* /var/log/subnet.log
Or even better this:
Code:
+.domain.com
*.* /var/log/subnet.log