Commit 86e96073ef9a3f74606005548fd0a2ccd9ed16b5
1 parent
4f2e524e
Exists in
syslog
Separating the rsyslog node configurations
Showing
2 changed files
with
15 additions
and
1 deletions
Show diff stats
cookbooks/rsyslog/recipes/node.rb
cookbooks/rsyslog/templates/node/node-integration.conf.erb
0 → 100644
... | ... | @@ -0,0 +1,14 @@ |
1 | +# Node <%= node.name %> | |
2 | +# The following configurations sends the | |
3 | +# files to rsyslog server | |
4 | + | |
5 | +$Modload imfile | |
6 | +# Logs to send | |
7 | +# TODO: add a for to increment 'var log path', 'severity', 'tag', 'facility', 'state file' | |
8 | +$InputFileName 'var log path' | |
9 | +$InputFileTag 'tag' | |
10 | +$InputFileStateFile 'state file' # Be careful, this must be unique | |
11 | + | |
12 | +$InputFileSeverity 'severity' | |
13 | +$InputFileFacility 'facility' | |
14 | +$InputRunFileMonitor | ... | ... |