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


(Leila Hamon) #1

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

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/85089651-a93b-4030-bd76-a87811c2beb0%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Leila Hamon) #2

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

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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/ca35d339-c458-4c25-a6fb-0cbfeb38c1df%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(Kevin Claggett) #3

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/3ssxshttps://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.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/29bba162-442d-44b6-a5fd-af5000af5652%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.


(system) #4