Making POST requests to external API through Kibana dashboard

Hi !

I have a new requirement where I need to create a clickable url element (or a button) in a Kibana dashboard that'll trigger a POST request to an external api. The request body should include data from the dashboard.

  1. Is there anyway to create a link element (or a button) in the dashboard that can execute a POST request ?
  2. If so, how can we include the data in the request body ? If the user applies a filter in the dashboard, the data in the request body should also be filtered

Appreciate any guidance from the community

Hello,

Thanks for sharing the requirement.
I had a small doubt, if you are calling an external API via POST , this is outside ELK? if yes how the data within Elasticsearch & this external source will communicate as on the Kibana dashboard we are displaying the data from Elasticsearch.

Thanks!!