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

Unit-level filtering for journald-ingestion #1

Open
tazjin opened this issue Sep 30, 2018 · 0 comments
Open

Unit-level filtering for journald-ingestion #1

tazjin opened this issue Sep 30, 2018 · 0 comments
Labels
enhancement New feature or request

Comments

@tazjin
Copy link
Owner

tazjin commented Sep 30, 2018

(This issue was aprilabank/journaldriver#9, filed originally by @reiinakano)

Some users of journaldriver wish to opt out of forwarding every single log message that is ingested by the journal (which is currently the only setting journaldriver has).

My first thought about this is that there should be unit-level inclusion and/or exclusion lists for individual systemd units. This would let users say something like:

# only forward logs from X and Y
include:
  - x.service
  - y.service

or alternatively

# forward everything, except the `verbose_nonsense`-service
exclude:
  - verbose_nonsense.service

Now that priorities are forwarded, maybe filtering by priority is also an option.

@tazjin tazjin added the enhancement New feature or request label Sep 30, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant