The session property I able to capture from the CSS element is "MYRxxxx or USD xxxx". Due to the word MYR or USD, it can't be long but has to be string.
Now, after capturing this, how can I configure Dynatrace to remove the name of the currency and make them to be long after that?
Answer by Simon S. ·
@Wai Keat C. to extract a long you first need to apply a cleanup rule. The cleanup rule allows you to extract the actual number from the string "MYRxxxx" or "USD xxxx". The extracted value can then be converted into a long. See the attached screenshot as an example.
Please note, that you cannot apply this to values that have already been captured. But at least you can add a new rule that properly extracts the value as a long. I suggest to create a new property and remove the old one to not mix values.
You can also extract a value currency to just have "MYD" and "USD" and another rule that just contains the total.