Use Logstash to load kibana index into an api

Hi, May i may the logstash script to load the kibana index in to my api, i have the destination path?
Thanks

Can you plz elaborate on what exactly you are trying to do here? Thanks