sematext / logagent-js

Extensible log shipper with input/output plugins, buffering, parsing, data masking, and small memory/CPU footprint
https://sematext.com/logagent
Apache License 2.0
389 stars 79 forks source link

Make default journald config easier to extend #259

Closed radu-gheorghe closed 4 years ago

radu-gheorghe commented 4 years ago

I'm trying to make it easier to add new sources (and new app destinations), once this "system" config is in place.

This commit will only remove fields if we match the journald source, and the same with the output. Ideally, we'd do the same for the journald-format filter, but I don't know how to do that (besides patching the filter itself). It seems to work for now, so I'll leave it as is.