# Kibana API endpoint for AWS

**URL:** https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051
**Category:** Kibana
**Created:** [June 15, 2020, 3:27am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051 "2020-06-15T03:27:41Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Lamppost](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Lamppost](https://discuss.elastic.co/u/Lamppost)
#### Post date: [June 15, 2020, 3:27am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/1 "2020-06-15T03:27:41Z")

</div>

Hi, I have created an elastic search cluster on aws and am using kibana to visualize the data. I can't seem to figure out how to use the Kibana API for saved objects with my AWS endpoint.  
The Kibana URL given to me by AWS is https:///\_plugin/kibana  
When I try to query this using Postman, nothing happens. So if I do something like  
GET https:///\_plugin/kibana/api/saved-objects/index-pattern/my-index  
It just says no URL handler found. Does anyone know how to use the Kibana API with an endpoint provided by AWS

---

<div class="post-metadata">

### Author: ![warkolm](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/warkolm/32/39224_2.png) [@warkolm](https://discuss.elastic.co/u/warkolm)
#### Post date: [June 15, 2020, 5:03am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/2 "2020-06-15T05:03:27Z")

</div>

What version?

---

<div class="post-metadata">

### Author: ![prashy.pk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashy.pk/32/70597_2.png) [@prashy.pk](https://discuss.elastic.co/u/prashy.pk)
#### Post date: [June 18, 2020, 7:19am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/3 "2020-06-18T07:19:47Z")

</div>

I too have a similar problem with Kibana in AWS. I try to access the /api/spaces/space/default but it returns no URL handler found. I don't see the spaces options in the Kibana UI as well. Could someone please help me enable this option in Kibana provided by AWS?

Kibana version: 7.4.2  
Elasticsearch version: 7.4.2

---

<div class="post-metadata">

### Author: ![prashy.pk](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/prashy.pk/32/70597_2.png) [@prashy.pk](https://discuss.elastic.co/u/prashy.pk)
#### Post date: [June 18, 2020, 10:28am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/4 "2020-06-18T10:28:33Z")

</div>

I can resolve my comment from above. AWS Kibana will not support Spaces and there are a lot more features that aren't supported.  
[https://www.elastic.co/aws-elasticsearch-service#full-comparison](https://www.elastic.co/aws-elasticsearch-service#full-comparison)

---

<div class="post-metadata">

### Author: ![Lamppost](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Lamppost](https://discuss.elastic.co/u/Lamppost)
#### Post date: [June 22, 2020, 3:59am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/5 "2020-06-22T03:59:19Z")

</div>

The latest versions for everything. ES 7.4. I just can't seem to use the kibana endpoint given to me to create index patterns, visualizations and dashboards. Currently I am using the .kibana index

---

<div class="post-metadata">

### Author: ![Lamppost](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Lamppost](https://discuss.elastic.co/u/Lamppost)
#### Post date: [June 22, 2020, 4:09am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/6 "2020-06-22T04:09:09Z")

</div>

I actually managed to run the API through postman and get a successful response. However, my index pattern doesn't show up on my Kibana list of index patterns. It gives me a 200 response and gives me the response json but still nothing.

---

<div class="post-metadata">

### Author: ![Lamppost](https://avatars.discourse-cdn.com/v4/letter/l/41988e/32.png) [@Lamppost](https://discuss.elastic.co/u/Lamppost)
#### Post date: [June 22, 2020, 5:35am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/7 "2020-06-22T05:35:30Z")

</div>

So I figured some part of the issue out. When I was using postman to send my queries, I was using AWS authentication for an IAM user I created who also had all access role in the kibana module. So when I pushed my code, it created a new index called .kibana-iamuserenpoint and stored my objects there. Now, if I try to use the internal database user through postman basic authentication, I keep getting unauthorized access and if I try doing it using the terminal, I get {"message": "Session expired", "redirectTo": "login"}. Any ideas why this is? Why can I use the internal user to login to kibana but not make api calls through postman with the user

---

<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 20, 2020, 5:35am UTC](https://discuss.elastic.co/t/kibana-api-endpoint-for-aws/237051/8 "2020-07-20T05:35:39Z")

</div>

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