Adding Dollar Sign In Metrics Visualization


#1

I am using Kibana 5.1. I have a Metrics Visualization which shows Revenue in Dollars, now it only shows the number. I want to change the format to put a Dollar sign in the front of the number. I know using painless script might help, but I cannot get the correct syntax, can anybody help me?


(Dallas Toth) #2

I did find a way to have the $ or any Prefix/Suffix added to your display. I changed it in the Index patterns.

management > Index patterns > Select the index with the field you want to change > find the Name of the value that you want the $ added to > Controls > Format change to Number > change Numeral.js format pattern 0,0.[000] to $0,0.[000].

Now anywhere you are using that field in Visuals will have the $ prefix.


#3

Thank you! It works


(system) #4

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