fluent-plugin-systemd icon indicating copy to clipboard operation
fluent-plugin-systemd copied to clipboard

Using systemd entry in record_modifier

Open diversario opened this issue 1 year ago • 0 comments

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?

diversario avatar Dec 01 '22 16:12 diversario