feat: initial commit
This commit is contained in:
commit
0c58302da5
20 changed files with 326 additions and 0 deletions
10
templates/logrotate/remote-tmpfs.j2
Normal file
10
templates/logrotate/remote-tmpfs.j2
Normal file
|
|
@ -0,0 +1,10 @@
|
|||
/var/log/remote/*.log {
|
||||
size 10M
|
||||
daily
|
||||
missingok
|
||||
notifempty
|
||||
nocompress
|
||||
copytruncate
|
||||
rotate 0
|
||||
su root adm
|
||||
}
|
||||
2
templates/rsyslog/incoming-udp514.conf.j2
Normal file
2
templates/rsyslog/incoming-udp514.conf.j2
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
module(load="imudp")
|
||||
input(type="imudp" port="514")
|
||||
5
templates/splunkforwarder/input.conf.j2
Normal file
5
templates/splunkforwarder/input.conf.j2
Normal file
|
|
@ -0,0 +1,5 @@
|
|||
[monitor:///var/log/remote]
|
||||
disabled = false
|
||||
index = default
|
||||
sourcetype = syslog
|
||||
host_segment = 3
|
||||
7
templates/splunkforwarder/outputs.conf.j2
Normal file
7
templates/splunkforwarder/outputs.conf.j2
Normal file
|
|
@ -0,0 +1,7 @@
|
|||
[tcpout]
|
||||
defaultGroup = default-autolb-group
|
||||
|
||||
[tcpout:default-autolb-group]
|
||||
server = 100.64.0.10:9997
|
||||
|
||||
[tcpout-server://100.64.0.10:9997]
|
||||
Loading…
Add table
Add a link
Reference in a new issue