Skip to content
This repository was archived by the owner on Apr 16, 2021. It is now read-only.
This repository was archived by the owner on Apr 16, 2021. It is now read-only.

Replicate Logstash config from master to other nodes #1306

@weslambert

Description

@weslambert

Short-term

Add something like the following to the existing OnionSalt config:

/opt/onionsalt/salt/backend/init.sls:

# Create the symlink 

/opt/onionsalt/salt/sensor/logstash_config:
   file.symlink:
     - target: /etc/logstash/custom

/opt/onionsalt/salt/sensor/init.sls:

# Add Logstash config sync

ls-config-sync:
   file.recurse:
     - name: /etc/logstash/custom
     - maxdepth: 0
     - source: salt://sensor/logstash_config

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions