(#22662) create a logstash_event logger

bugfix to previous commit.