# Firebase error

**URL:** <https://discuss.elastic.co/t/firebase-error/70612>\
**Category:** Elasticsearch\
**Created:** [January 4, 2017, 9:41pm UTC](https://discuss.elastic.co/t/firebase-error/70612 "2017-01-04T21:41:05Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 9:41pm UTC](https://discuss.elastic.co/t/firebase-error/70612/1 "2017-01-04T21:41:05Z")

</div>

failed to index firebase/locations/-XXXXXXXX: [remote\_transport\_exception]

Is this a firebase error or and Elastic Search error

---

<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:** [January 4, 2017, 9:48pm UTC](https://discuss.elastic.co/t/firebase-error/70612/2 "2017-01-04T21:48:55Z")

</div>

What's firebase?

---

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 10:07pm UTC](https://discuss.elastic.co/t/firebase-error/70612/3 "2017-01-04T22:07:52Z")

</div>

"Limit of total fields [1000] in index [firebase] has been exceeded"},"status":400}"}

1. I run flashlight-master to extract firebase data and inject it into elasticSearch.
2. There are 2053 fields that need injected. I need to increase the total field count.

---

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 10:14pm UTC](https://discuss.elastic.co/t/firebase-error/70612/4 "2017-01-04T22:14:18Z")

</div>

PUT firebase  
{  
"settings" :  
{  
"index.mapping.total\_fields.limit": 2000  
}  
}

When I try to change limit to 2000, I receive an error that the index already exists.

---

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 10:16pm UTC](https://discuss.elastic.co/t/firebase-error/70612/5 "2017-01-04T22:16:00Z")

</div>

It is googles real time database. I use flashlight-master to connect to  
firebase and inject data into elasticsearch

---

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 10:52pm UTC](https://discuss.elastic.co/t/firebase-error/70612/7 "2017-01-04T22:52:26Z")

</div>

{  
"error": {  
"root\_cause": [  
{  
"type": "index\_already\_exists\_exception",  
"reason": "index [firebase/1GmNjEXhQSezEA\_S3ZHprQ] already exists",  
"index\_uuid": "1GmNjEXhQSezEA\_S3ZHprQ",  
"index": "firebase"  
}  
],  
"type": "index\_already\_exists\_exception",  
"reason": "index [firebase/1GmNjEXhQSezEA\_S3ZHprQ] already exists",  
"index\_uuid": "1GmNjEXhQSezEA\_S3ZHprQ",  
"index": "firebase"  
},  
"status": 400  
}

DELETE firebase

does not delete the index

---

<div class="post-metadata">

**Author:** ![davidn](https://avatars.discourse-cdn.com/v4/letter/d/3ec8ea/32.png) [@davidn](https://discuss.elastic.co/u/davidn)\
**Post date:** [January 4, 2017, 10:57pm UTC](https://discuss.elastic.co/t/firebase-error/70612/8 "2017-01-04T22:57:02Z")

</div>

I create an Index pattern called firebase. It had 2053 fields. If I do a get on firebase, I can see all the fields. When I try to import data from firebase into the elasticsearch I get an too many fields error.

This Put final worked!

PUT firebase/\_settings  
{  
"index.mapping.total\_fields.limit": 2200  
}

---

<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:** [January 5, 2017, 12:09am UTC](https://discuss.elastic.co/t/firebase-error/70612/9 "2017-01-05T00:09:00Z")

</div>

> [@davidn](#):
>
> "Limit of total fields [1000] in index [firebase] has been exceeded"},"status":400}"}
> 
> Is this an elasticSearch message?

Yes that is correct.

> [@davidn](#):
>
> PUT firebase{ "settings" : { "index.mapping.total\_fields.limit": 2000 }}
> 
> When I try to change limit to 2000, I receive an error that the index already exists.

```auto
PUT INDEXNAME/_settings
{
"index.mapping.total_fields.limit": 2000
}

```

---

<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 2, 2017, 12:09am UTC](https://discuss.elastic.co/t/firebase-error/70612/10 "2017-02-02T00:09:27Z")

</div>

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