# How to fetch Kibana APi logs in Dashboard using Powershell

**URL:** <https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369>\
**Category:** Elasticsearch\
**Created:** [June 29, 2021, 3:38pm UTC](https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369 "2021-06-29T15:38:59Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Sahithi\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sahithi_v/32/90972_2.png) [@Sahithi\_V](https://discuss.elastic.co/u/Sahithi_V)\
**Post date:** [June 29, 2021, 3:38pm UTC](https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369/1 "2021-06-29T15:38:59Z")

</div>

Recently part of automation we are trying to fetch kibana dashboard apis through any script lang ie Python /powershell .  
Tried to fetch with Rest APis, but through unable to connect. Server of Elastic search looks something like "[http://172.xx.xxx.xx:5102/\_login](http://172.xx.xxx.xx:5102/_login)" a remote i believ any suggestions would be appreciated

---

<div class="post-metadata">

**Author:** ![Patrick\_Mueller](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/patrick_mueller/32/109425_2.png) [@Patrick\_Mueller](https://discuss.elastic.co/u/Patrick_Mueller)\
**Post date:** [June 29, 2021, 7:24pm UTC](https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369/2 "2021-06-29T19:24:27Z")

</div>

The Kibana REST APIs are documented here: [REST API | Kibana Guide [7.13] | Elastic](https://www.elastic.co/guide/en/kibana/current/api.html)

---

<div class="post-metadata">

**Author:** ![Sahithi\_V](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/sahithi_v/32/90972_2.png) [@Sahithi\_V](https://discuss.elastic.co/u/Sahithi_V)\
**Post date:** [July 1, 2021, 12:34pm UTC](https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369/3 "2021-07-01T12:34:43Z")

</div>

Thanks Patrick really helpful, good day

---

<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:** [July 29, 2021, 12:35pm UTC](https://discuss.elastic.co/t/how-to-fetch-kibana-api-logs-in-dashboard-using-powershell/277369/4 "2021-07-29T12:35:41Z")

</div>

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