Thank you very much for your willingness to help. I made some changes compared to what I saw here and it worked. The problem of my real log schema is that it has few nested JSON arrays at different levels that's why it was a bit more complex than what you can see here:
Apache, Apache Lucene, Apache Hadoop, Hadoop, HDFS and the yellow elephant
logo are trademarks of the
Apache Software Foundation
in the United States and/or other countries.