# \[Kibana\] I'm unsure which field is causing the casting error, will someone please take a look?

**URL:** <https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936>\
**Category:** Elasticsearch\
**Created:** [April 10, 2014, 8:10pm UTC](https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936 "2014-04-10T20:10:30Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Leila\_Hamon](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@Leila\_Hamon](https://discuss.elastic.co/u/Leila_Hamon)\
**Post date:** [April 10, 2014, 8:10pm UTC](https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936/1 "2014-04-10T20:10:30Z")

</div>

I'm receving this error at the top of the page:

```
Oops! 

```

ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData  
cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]

I have a mapping that I'm applying, it's a catch-all for iis, eventlog, and  
nxlog:  
[https://pastee.org/3ssxs](https://pastee.org/3ssxs)

I guess it's erroring on the timestamp, but I'm not sure. It's the first  
time I've launched Kibana.

I can provide some data that is within Elasticsearch if that will help  
anyone who is willing to lend a hand. Thanks!

--  
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/85089651-a93b-4030-bd76-a87811c2beb0%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/85089651-a93b-4030-bd76-a87811c2beb0%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Leila\_Hamon](https://avatars.discourse-cdn.com/v4/letter/l/85e7bf/32.png) [@Leila\_Hamon](https://discuss.elastic.co/u/Leila_Hamon)\
**Post date:** [April 10, 2014, 8:13pm UTC](https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936/2 "2014-04-10T20:13:43Z")

</div>

The filter is set to the @timestamp field, so I guess that is the error:  
Here is what the field value looks like: 2014-04-10T16:51:55.890Z

My friend and I have been banging our heads on this for about two hours now.

On Thursday, April 10, 2014 3:10:30 PM UTC-5, Leila Hamon wrote:

> I'm receving this error at the top of the page:
> 
> ```
> Oops! 
> 
> ```
> 
> ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData  
> cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]
> 
> I have a mapping that I'm applying, it's a catch-all for iis, eventlog,  
> and nxlog:  
> [https://pastee.org/3ssxs](https://pastee.org/3ssxs)
> 
> I guess it's erroring on the timestamp, but I'm not sure. It's the first  
> time I've launched Kibana.
> 
> I can provide some data that is within Elasticsearch if that will help  
> anyone who is willing to lend a hand. Thanks!

--  
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/ca35d339-c458-4c25-a6fb-0cbfeb38c1df%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/ca35d339-c458-4c25-a6fb-0cbfeb38c1df%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Kevin\_Claggett](https://avatars.discourse-cdn.com/v4/letter/k/7ba0ec/32.png) [@Kevin\_Claggett](https://discuss.elastic.co/u/Kevin_Claggett)\
**Post date:** [April 10, 2014, 8:52pm UTC](https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936/3 "2014-04-10T20:52:14Z")

</div>

Ive seen that error when I put numeric data in a string, then tried to  
query it as numeric data  
glancing at your mapping that might include your filesize field  
or querying one of the raw fields thats a string as an integer

On Thursday, April 10, 2014 1:13:43 PM UTC-7, Leila Hamon wrote:

> The filter is set to the @timestamp field, so I guess that is the error:  
> Here is what the field value looks like: 2014-04-10T16:51:55.890Z
> 
> My friend and I have been banging our heads on this for about two hours  
> now.
> 
> On Thursday, April 10, 2014 3:10:30 PM UTC-5, Leila Hamon wrote:
> 
> > I'm receving this error at the top of the page:
> > 
> > ```
> > Oops! 
> > 
> > ```
> > 
> > ClassCastException[org.elasticsearch.index.fielddata.plain.PagedBytesIndexFieldData  
> > cannot be cast to org.elasticsearch.index.fielddata.IndexNumericFieldData]
> > 
> > I have a mapping that I'm applying, it's a catch-all for iis, eventlog,  
> > and nxlog:  
> > [https://pastee.org/3ssxs](https://pastee.org/3ssxs)[https://www.google.com/url?q=https%3A%2F%2Fpastee.org%2F3ssxs&sa=D&sntz=1&usg=AFQjCNHY1PL5AiCsK0xVMAnFUUk72rg4SA](https://www.google.com/url?q=https%3A%2F%2Fpastee.org%2F3ssxs&sa=D&sntz=1&usg=AFQjCNHY1PL5AiCsK0xVMAnFUUk72rg4SA)
> > 
> > I guess it's erroring on the timestamp, but I'm not sure. It's the first  
> > time I've launched Kibana.
> > 
> > I can provide some data that is within Elasticsearch if that will help  
> > anyone who is willing to lend a hand. Thanks!

--  
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/29bba162-442d-44b6-a5fd-af5000af5652%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/29bba162-442d-44b6-a5fd-af5000af5652%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:36am UTC](https://discuss.elastic.co/t/kibana-im-unsure-which-field-is-causing-the-casting-error-will-someone-please-take-a-look/16936/4 "2017-07-06T01:36:45Z")

</div>


