Calculate age


i have a birthday field. what is the best practice to calculate age to be able to search on and for doing some visualization in kibana also?


You mean you want to show the age of a person at any given moment in KB?

In years.

There's no metric etc for this, you'd probably need to do a scripted field with some painless math.

Yes i assumed so, but how can i do it and where. Lets say i have a field
named DayOfBirth = 1975-09-16. is where to start.

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