Improve rsyslog config
This commit is contained in:
parent
54ec8c85d3
commit
0511396ca7
1 changed files with 3 additions and 1 deletions
|
@ -128,7 +128,9 @@
|
||||||
};
|
};
|
||||||
rsyslogd = {
|
rsyslogd = {
|
||||||
enable = true;
|
enable = true;
|
||||||
extraConfig = "*.*@192.168.1.27:1514;RSYSLOG_SyslogProtocol23Format";
|
extraConfig = ''
|
||||||
|
*.* action(type="omfwd" target="192.168.1.27" port="1514" protocol="tcp")
|
||||||
|
'';
|
||||||
};
|
};
|
||||||
prometheus = {
|
prometheus = {
|
||||||
exporters = {
|
exporters = {
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue