Ruby code filter error


(Valentin) #1

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')"
  }
}

(Magnus B├Ąck) #2

There's a ")" missing at the end of your Ruby expression.


(Valentin) #3

Thanks, I must have looked at that line a dozen of times but somehow still missed it.


(system) #4

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.