fitting: Add filter

Be able to filter events based on a field. Doesn’t yet support
multiple filters, not sure yet what logical operators should be available.