Split value


#1

hello everyone,

how could i split the value of the metric, which has number + unit (ex: 4 years)
i want to split the numerical value to convert it from years to days
but the problem in bar stays the 'year ' with the converted value like:
split


(Spencer Alger) #2

You should make sure and index the value in a format that elasticsearch understands. A string can't be used effectively as a time unit, but if you stored the value in elasticsearch as a days_since_modified: x instead you would have a much better visualization.