logmngr: set pid to 0 when it does not exist

This commit is contained in:
Mohd Husaam Mehdi 2025-10-23 14:22:08 +05:30
parent 29638a28f7
commit e319c85064

View file

@ -75,8 +75,15 @@ create_default_filters() {
append_conf " match KM*"
append_conf " add ident kernel"
append_conf " rename msg message"
append_conf " set pid 0"
append_conf ""
append_conf "[FILTER]"
append_conf " name modify"
append_conf " match SL*"
append_conf " Condition Key_Does_Not_Exist pid"
append_conf " Add pid 0"
append_conf "[FILTER]"
append_conf " name sysinfo"
append_conf " match *"