The correct syntax is
if [message] =~ /^# Time:/ {
but otherwise it should work. Of course, none of the messages in your example begin with "# Time:".
The correct syntax is
if [message] =~ /^# Time:/ {
but otherwise it should work. Of course, none of the messages in your example begin with "# Time:".
© 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.