(#22662) create a logstash_event logger

This commit should further improve the quality of the rspec tests.