Hello Kev,
your second mentioned filter is correct, this should work. What I can sometimes observe (platform dependent) is that it needs a rollover of a log file that the filters going active.
You can try to delete the chassisd file and let JUNOS recreate it. You have a good chance that the filter works afterwards.
------------------------------
------------------------------
------------------------------
If my answer provides the solution, please mark my post as "Accepted Solution".
If you think my answer helps, please spend some Kudos
------------------------------
Original Message:
Sent: 11-19-2020 03:35
From: Unknown User
Subject: Filter chassisd logs
Hello,
i try to filter some chassisd logs but it wont work with my filter
I Try this filters:
file chassisd { match "!/pic type F050 not supported/";}andfile chassisd { match "!(.*pic type F050 not supported.*)";}
The Log i try to filter is:
Nov 19 09:31:43 pic_create_ifname: 0/0/54 pic type F050 not supported
Nov 19 09:31:56 pic_create_ifname: 0/0/18 pic type F050 not supported
Nov 19 09:32:01 pic_create_ifname: 0/0/20 pic type F050 not supported
Nov 19 09:32:01 pic_create_ifname: 0/0/22 pic type F050 not supported
Nov 19 09:32:01 pic_create_ifname: 0/0/28 pic type F050 not supported