# Data truncated when including number following by '.'

**URL:** <https://discuss.elastic.co/t/data-truncated-when-including-number-following-by/17380>\
**Category:** Elasticsearch\
**Created:** [May 6, 2014, 8:52pm UTC](https://discuss.elastic.co/t/data-truncated-when-including-number-following-by/17380 "2014-05-06T20:52:01Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Mac\_Jouz](https://avatars.discourse-cdn.com/v4/letter/m/e47c2d/32.png) [@Mac\_Jouz](https://discuss.elastic.co/u/Mac_Jouz)\
**Post date:** [May 6, 2014, 8:52pm UTC](https://discuss.elastic.co/t/data-truncated-when-including-number-following-by/17380/1 "2014-05-06T20:52:01Z")

</div>

Hi,

I'm using ELK (ES v1.1.1) and I'm facing a strange behaviour when trying to  
aggregate some kind of data including a number following by a '.' (dot)

I built a panel with kibana to show Top 10 Java method used in my  
application and I can see that the result provided by ES is truncated when  
there is one number following by a '.' (dot)

For instance the ES result is  
[...]  
{  
"term" : "connector.abczcm9stub",  
"count" : 1387  
}, {  
"term" : "cachedmapper.com.test.jca.abc.copabczcm9",  
"count" : 1387  
},  
[...]

whereas the x\_java\_method which is expected in this case is

```
 [...]
  {
    "term" : 

```

"cachedmapper.com.test.jca.abc.copabczcm9.connector.abczcm9stub",  
"count" : 1387  
},  
[...]

Of course the result is correct when there is no number followed by a '.'

```
 [...] 
 {
    "term" : 

```

"cachedmapper.com.test.jca.abc.copabcxa0f.connector.abcxa0fstub",  
"count" : 148  
},  
[...]

_More details:_  
=\> ES full request:

curl -XGET  
'[http://localhost/elasticsearch/logstash-2014.04.29/\_search?pretty](http://localhost/elasticsearch/logstash-2014.04.29/_search?pretty)' -d '{  
"facets": {  
"terms": {  
"terms": {  
"field": "x\_java\_method",  
"size": 10,  
"order": "count",  
"exclude": []  
},  
"facet\_filter": {  
"fquery": {  
"query": {  
"filtered": {  
"query": {  
"bool": {  
"should": [  
{  
"query\_string": {  
"query": "type : "appli\_type""  
}  
}  
]  
}  
},  
"filter": {  
"bool": {  
"must": [  
{  
"range": {  
"@timestamp": {  
"from": 1398722400000,  
"to": "2014-04-29T22:00:00.000Z"  
}  
}  
},  
{  
"fquery": {  
"query": {  
"query\_string": {  
"query": "x\_java\_method:\*Stub"  
}  
},  
"\_cache": true  
}  
}  
]  
}  
}  
}  
}  
}  
}  
}  
},  
"size": 0  
}'

=\> ES Result :

{  
"took" : 179,  
"timed\_out" : false,  
"\_shards" : {  
"total" : 10,  
"successful" : 10,  
"failed" : 0  
},  
"hits" : {  
"total" : 8742790,  
"max\_score" : 0.0,  
"hits" : []  
},  
"facets" : {  
"terms" : {  
"\_type" : "terms",  
"missing" : 0,  
"total" : 24278,  
"other" : 1323,  
"terms" : [ {  
"term" :  
"cachedmapper.com.test.jca.abc.copabczcnc.connector.abczcncstub",  
"count" : 14199  
}, {  
"term" :  
"cachedmapper.com.test.jca.abc.copabczcnb.connector.abczcnbstub",  
"count" : 4817  
}, _{_

- 

```
   "term" : "connector.abczcm9stub",*

```

- 

```
   "count" : 1387*

```

- 

```
 }, {*

```

- 

```
   "term" : "cachedmapper.com.test.jca.abc.copabczcm9",*

```

- 

```
   "count" : 1387*

```

- 

```
 }*, {
  "term" : 

```

"cachedmapper.com.test.jca.abc.copabczcna.connector.abczcnastub",  
"count" : 342  
}, {  
"term" :  
"cachedmapper.com.test.jca.def.defzcnj.connector.defzcnjstub",  
"count" : 246  
},\* {\*

- 

```
   "term" : "connector.ghica017stub",*

```

- 

```
   "count" : 174*

```

- 

```
 }, {*

```

- 

```
   "term" : "cachedmapper.com.test.jca.ghi.ghica017",*

```

- 

```
   "count" : 174*

```

- 

```
 }*, {
  "term" : 

```

"cachedmapper.com.test.jca.abc.copabcxa0f.connector.abcxa0fstub",  
"count" : 148  
}, {  
"term" : "connector.ghica014stub",  
"count" : 81  
} ]  
}  
}  
}

--  
You received this message because you are subscribed to the Google Groups "elasticsearch" group.  
To unsubscribe from this group and stop receiving emails from it, send an email to [elasticsearch+unsubscribe@googlegroups.com](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/69410e42-2b0f-423a-b4f6-4869bea303a8%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/69410e42-2b0f-423a-b4f6-4869bea303a8%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<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 6, 2017, 1:31am UTC](https://discuss.elastic.co/t/data-truncated-when-including-number-following-by/17380/2 "2017-07-06T01:31:15Z")

</div>


