Having a hard time pinpointing why I'm getting this error:
My filter:
filter {
ruby {
code => "event.set('archdate', Time.now.utc.strftime('%Y-%m-%dT%H:%M:%S%z')"
}
}
Having a hard time pinpointing why I'm getting this error:
My filter:
filter {
ruby {
code => "event.set('archdate', Time.now.utc.strftime('%Y-%m-%dT%H:%M:%S%z')"
}
}
There's a ")" missing at the end of your Ruby expression.
Thanks, I must have looked at that line a dozen of times but somehow still missed it.
This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
© 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.