User Tools

Site Tools


salt:states:rsyslog-remote

Using SALTStack & rsyslog? Need a way to send your syslogs to a centralized place? Look no further!

remotesyslog.sls
/etc/rsyslog.d/10-remotesyslog.conf:
  file.managed:
    - contents: "*.* @@10.55.55.55:514"
 
rsyslog:
  service.running:
    - enable: true
    - restart: true
    - watch:
      - /etc/rsyslog.d/10-remotesyslog.conf
salt/states/rsyslog-remote.txt · Last modified: 2020/10/22 09:35 by biggi

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki