Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How does rsyslog::snippet work with Hiera? #276

Open
hzzbh3 opened this issue May 24, 2017 · 0 comments
Open

How does rsyslog::snippet work with Hiera? #276

hzzbh3 opened this issue May 24, 2017 · 0 comments

Comments

@hzzbh3
Copy link

hzzbh3 commented May 24, 2017

Trying to create a file /etc/rsyslog.d/20_drops_logs.conf from Hiera.
Contents:
:msg, contains, "Connection from UDP: [IPADDRESS" ~
:msg, contains, "nagios" ~
:msg, contains, "orca" ~

Hiera:

example or something to like it.
rsyslog::snippet::20_drop_logs:

  • content: ':msg, contains, "Connection from UDP: [IPADDRESS" ~
    :msg, contains, "nagios" ~
    :msg, contains, "orca" ~'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant