The event.get is returning nil, meaning the field does not exist. You can either save the result of event.get in a local variable and use a conditional before using it, or wrap the .get/.set in begin/rescue/end.
The event.get is returning nil, meaning the field does not exist. You can either save the result of event.get in a local variable and use a conditional before using it, or wrap the .get/.set in begin/rescue/end.
© 2020. All Rights Reserved - Elasticsearch
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.