Ruby code filter error

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.