Re: [rsyslog] action if property not set

2023-03-06 Thread Rainer Gerhards via rsyslog
What do you expect? Sent from phone, thus brief. Tan Mientras via rsyslog schrieb am Mo., 6. März 2023, 13:27: > Found > > https://github.com/rsyslog/rsyslog-doc/commit/912bc5dcc54966be2cea9890c81414a1e96a94ce > however it isn't working as expected (or at least how I expect) > > On Mon, Mar 6,

Re: [rsyslog] action if property not set

2023-03-06 Thread Tan Mientras via rsyslog
Found https://github.com/rsyslog/rsyslog-doc/commit/912bc5dcc54966be2cea9890c81414a1e96a94ce however it isn't working as expected (or at least how I expect) On Mon, Mar 6, 2023 at 9:00 AM Tan Mientras wrote: > Is it possible to filter depending on a field that may exists or not in a > json

[rsyslog] action if property not set

2023-03-06 Thread Tan Mientras via rsyslog
Is it possible to filter depending on a field that may exists or not in a json message? Something like: # if property is not set if ! $!source_app then { action(...) } ___ rsyslog mailing list https://lists.adiscon.net/mailman/listinfo/rsyslog