sysadmin:logs
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
sysadmin:logs [2013/09/18 17:54] – created Guillaume Mazoyer | sysadmin:logs [2021/01/04 20:41] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 7: | Line 7: | ||
==== On the target host ==== | ==== On the target host ==== | ||
- | Append the following line to the /// | + | Append the following line to the '' |
< | < | ||
==== On the log server ==== | ==== On the log server ==== | ||
- | Uncomment those lines in /// | + | Uncomment those lines in '' |
< | < | ||
$ModLoad imudp | $ModLoad imudp | ||
Line 21: | Line 21: | ||
$InputTCPServerRun 514</ | $InputTCPServerRun 514</ | ||
- | Add a file in the ///etc/rsyslogd// | + | Add a file in the '' |
< | < | ||
if $fromhost-ip == ' | if $fromhost-ip == ' | ||
This will store log files of remote hosts in different folders following the **hostname**, | This will store log files of remote hosts in different folders following the **hostname**, |
sysadmin/logs.1379526846.txt.gz · Last modified: 2021/01/04 20:41 (external edit)