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 = df.select(..., col("principal_amount").as("Principal amount"),...) df2.saveToEs("payments_spark")
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