Try something like below in your input section.
You only need to create regex to catch start of your block.
In my case it's timestamp so i'm using pattern => "%{TIMESTAMP_ISO8601}"
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.