How to access the value in the logstash metadata

I have another open thread related to this.