# Index pattern has no field but the other index pattern is working properly, i can't also connect to mapping using curl

**URL:** https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540
**Category:** Kibana
**Created:** [January 8, 2024, 2:46am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540 "2024-01-08T02:46:11Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![Epangilinangt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/epangilinangt/32/127233_2.png) [@Epangilinangt](https://discuss.elastic.co/u/Epangilinangt)
#### Post date: [January 8, 2024, 2:46am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540/1 "2024-01-08T02:46:11Z")

</div>

Index pattern has no field but the other index pattern is working properly, i can't also connect to mapping using curl

---

<div class="post-metadata">

### Author: ![Priscilla\_Parodi](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/priscilla_parodi/32/43047_2.png) [@Priscilla\_Parodi](https://discuss.elastic.co/u/Priscilla_Parodi)
#### Post date: [January 11, 2024, 3:28am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540/2 "2024-01-11T03:28:27Z")

</div>

Hello @Epangilinangt,

My understanding is that you have two indices and can only create the index pattern for one of them. Additionally, you're unable to retrieve the mapping definitions for this index. What is the output in this case? And what is the response for `GET /<index>`?

---

<div class="post-metadata">

### Author: ![Epangilinangt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/epangilinangt/32/127233_2.png) [@Epangilinangt](https://discuss.elastic.co/u/Epangilinangt)
#### Post date: [January 15, 2024, 3:15am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540/3 "2024-01-15T03:15:00Z")

</div>

Hello @Priscilla_Parodi , thanks for your reply.  
Here  
curl -X GET "[https://us-elasticsearch-nonprod.gtreasury.net:9200/dashboard-refresh-\*/\_mapping](https://us-elasticsearch-nonprod.gtreasury.net:9200/dashboard-refresh-*/_mapping)"  
curl: (28) Failed to connect to [us-elasticsearch-nonprod.gtreasury.net](http://us-elasticsearch-nonprod.gtreasury.net) port 9200: Connection timed out

Hello @Priscilla_Parodi , thanks for your reply.  
Here  
curl -X GET "[https://us-elasticsearch-nonprod.gtreasury.net:9200/dashboard-refresh-\*/\_mapping](https://us-elasticsearch-nonprod.gtreasury.net:9200/dashboard-refresh-*/_mapping)"  
curl: (28) Failed to connect to [us-elasticsearch-nonprod.gtreasury.net](http://us-elasticsearch-nonprod.gtreasury.net) port 9200: Connection timed out

Hello

---

<div class="post-metadata">

### Author: ![Epangilinangt](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/epangilinangt/32/127233_2.png) [@Epangilinangt](https://discuss.elastic.co/u/Epangilinangt)
#### Post date: [January 15, 2024, 3:15am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540/4 "2024-01-15T03:15:18Z")

</div>

Here's what it got when i tried to command it

---

<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: [February 12, 2024, 3:15am UTC](https://discuss.elastic.co/t/index-pattern-has-no-field-but-the-other-index-pattern-is-working-properly-i-cant-also-connect-to-mapping-using-curl/350540/5 "2024-02-12T03:15:19Z")

</div>

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