Gathering RabbitMQ payload when it has a filed message

The default codec in a rabbitmq input is json, so the json is parsed by the time the event is flushed to the pipeline. You could try changing the input codec to line or plain to prevent it parsing the data and then add a json filter.