Use of [@metadata] in logstash 2.0

I read about the use of the [@metadata] field in the 1.5 version (https://www.elastic.co/blog/logstash-metadata) and wanted to try it out on logstash 2.0. Unfortunately, there seems to be no way of forcing to output metadata fields in the output{} filters.

Is the the use of [@metadata] still recommended in version 2.0 or is it deprecated?

Unfortunately, there seems to be no way of forcing to output metadata fields in the output{} filters.

The rubydebug codec has an option to include @metadata. That the outputs ignore that field is the whole point.

Is the the use of [@metadata] still recommended in version 2.0 or is it deprecated?

It's not deprecated.

As @magnusbaeck has pointed out, @metadata was designed specifically to not output. You can copy anything out of @metadata with mutate and sprintf formatting, as appropriate.