It might be more appropriate to open a thread in the Logstash section. Tag me there if you can and I'll answer there to your question
If I don't see anything I'll post here a possible solution to your problem.
P.S. is that my_field field always a list of objects? And is filename present in each of them? I'm asking if you have to make any check on the single objects or if you blindly get the size of the list.
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.