I updated the post with more code. If I have an output of stdout, I have message, right ?
No. The output you posted clearly shows that you only have four fields (@timestamp, @version, value, and tags). This isn't surprising since you're only selecting a single column in your jdbc input. I don't know what you expect to get in the email.
I don't think it's possible out of the box; you'll have to assemble a temporary field (e.g. in a subfield of @metadata) containing the data you need. You could use a ruby filter to do that.
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.