Logstash data unload

Please note, the above config file is for Logstash.

I found a similar issue under the below thread.

I have to now figure out how to create a [@metadata] field and sprintf to at least access the index name. Any pointers would be highly appreciated.

I think I am having the below issue in logstash compared to Postman where it outputs the additional metadata. How would include them in logstash?