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

Using systemd entry in record_modifier #99

Open
diversario opened this issue Dec 1, 2022 · 0 comments
Open

Using systemd entry in record_modifier #99

diversario opened this issue Dec 1, 2022 · 0 comments

Comments

@diversario
Copy link

I'm not sure I'm phrasing my question correctly, but the idea of what I'm trying to achieve is this:

<filter systemd.**>
  @type record_modifier
  <record>
    service $NameOfASystemdServiceFromTheEntry
  </record>
</filter>

so service key would docker.service or ntp.service or whatever service actually produced the log entry. Is this possible?

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