Thanks @Mario_Castro for the reply. is there any workaround to achieve the same ?
I could see some article about using logstash csv filter plugin. But to use that, i need to write a custom code/script which does the expected behavior in the following order (with all the extra/additional hops)
script(api call) -> csv log > logstash csvplugin > logstash > elasticsearch
To use this approach, we would end up in maintaining the script for failures/cron...