Best way of applying a currency transformation to a field

(Gregory Boero-Teyssier) #1

I have a visualization where I count the amount of orders for the product, and I want to know the valorization of the amount, but the orders are done in multiple currency so want them to be converted into one by example in $.
Do you have a best practice on the way of making this transformation?

Thanks and regards

(Brandon Kobel) #2

Hey @GregoryB-T, it's going to be more performant to perform this transformation before inserting your documents into Elasticsearch. However, if this isn't feasible, you could potentially use a scripted field to perform this transformation.

(Gregory Boero-Teyssier) #3

HI @Brandon_Kobel ,

Thanks, I think it will be possible to do it before inserting the documents. may be at logstash level.


(system) #4

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