# How to make a Rest Call from Kibana to a external machine?

**URL:** <https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767>\
**Category:** Kibana\
**Created:** [October 24, 2018, 9:56am UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767 "2018-10-24T09:56:49Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![pshreyasholla](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pshreyasholla](https://discuss.elastic.co/u/pshreyasholla)\
**Post date:** [October 24, 2018, 9:56am UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/1 "2018-10-24T09:56:50Z")

</div>

My requirement is to create a Visualization whose contents are the output of an external rest service

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 24, 2018, 12:36pm UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/2 "2018-10-24T12:36:49Z")

</div>

You need to build your own app that sends the request and then outputs either a log or outputs to Elasticsearch. Kibana doesn't do REST requests to other machines, it's just a tool to visualize data and manage the Elastic stack.

---

<div class="post-metadata">

**Author:** ![pshreyasholla](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pshreyasholla](https://discuss.elastic.co/u/pshreyasholla)\
**Post date:** [October 24, 2018, 3:16pm UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/3 "2018-10-24T15:16:09Z")

</div>

Hi Thanks for the response. Can we make rest calls from ElasticSearch?

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 24, 2018, 3:30pm UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/4 "2018-10-24T15:30:29Z")

</div>

Nope, Elasticsearch is a data store. You can do an HTTP request from Heartbeat, but that is only good for checking if a service is up or not. [https://www.elastic.co/products/beats/heartbeat](https://www.elastic.co/products/beats/heartbeat)  
You need to build your own script/app to do the REST calls.

---

<div class="post-metadata">

**Author:** ![pshreyasholla](https://avatars.discourse-cdn.com/v4/letter/p/8e8cbc/32.png) [@pshreyasholla](https://discuss.elastic.co/u/pshreyasholla)\
**Post date:** [October 25, 2018, 10:03am UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/5 "2018-10-25T10:03:58Z")

</div>

Hi Thanks for the quick response.

So here is my requirement.

1. I have to show the contents from an external service on Kibana in a table format=\> So I think this can be achievable by using HTTP plugin in logstash and then pushing data to Kibana through ElasticSearch.

2. Once I select a row in the table displayed on Kibana UI, I need to make another rest call by sending the contents of the row to external system and render the output back on Kibana.

Can this be achievable? Please guide me if yes.

---

<div class="post-metadata">

**Author:** ![Marius\_Dragomir](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/marius_dragomir/32/42087_2.png) [@Marius\_Dragomir](https://discuss.elastic.co/u/Marius_Dragomir)\
**Post date:** [October 29, 2018, 12:04pm UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/6 "2018-10-29T12:04:45Z")

</div>

Nope, the second part is not achievable in Kibana. We don't allow making external request from Kibana for security reasons.

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [November 26, 2018, 12:10pm UTC](https://discuss.elastic.co/t/how-to-make-a-rest-call-from-kibana-to-a-external-machine/153767/7 "2018-11-26T12:10:43Z")

</div>

This topic was automatically closed 28 days after the last reply. New replies are no longer allowed.
