Is it possible to record the transaction with sample rate as well, but not all of them?

Sorry for the delay in replying. There's a slight error in your syntax. Processors should be a YAML list; you're missing a "-" before drop_event. It should look like this:

processors:
 - drop_event:
     when:
       equals:
         transaction.sampled: false