Kibana not recognize long as number

I'm insert amounts from spark to elastic for consult from elastic.
The amounts are well inserted but in kibana this values can´t use as amounts for make metrics (sum, max, medians...).
The code in spark is this:

val df2 =,
    col("principal_amount").as("Principal amount"),...)

And in Elastic the type of this field is float:


In Management>Index Patterns this field isn't appear but in discover i can see it. And if i want do some operation, this appear:


I hope someone can help me.
Greetings and many thanks

Can you do the field again but without spaces in the name? They tent to cause unwanted problems and than might be the issue here.

The problem had solved when I deleted the Index Pattern and insert data again.

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