The earliest recollection of this bug is traced back to PAN-OS 8.1.9 - January 09, 2024.
This bug is fixed in PAN-OS versions 8.1.9.
Fixed an issue where you were unable to create a custom log forwarding profile when you configured a filter with the "in" and "not in" configurations ( Objects Log Forwarding Add Add Filter Filter Builder ) and resulted in the following error message: Invalid filter match-list -> -> filter is invalid .
For more information:
https://docs.paloaltonetworks.com/pan-os/8-1/pan-os-release-notes/pan-os-8-1-addressed-issues/pan-os-8-1-9-addressed-issues