# How to configure current age using the date plugin filter from logstash

**URL:** https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244
**Category:** Logstash
**Created:** [June 2, 2022, 2:49pm UTC](https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244 "2022-06-02T14:49:34Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![Rizky\_Hudha](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/rizky_hudha/32/87736_2.png) [@Rizky\_Hudha](https://discuss.elastic.co/u/Rizky_Hudha)
#### Post date: [June 2, 2022, 2:49pm UTC](https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244/1 "2022-06-02T14:49:34Z")

</div>

hello I'm trying to create an age range with the logstash plugin filter, so I have date of birth data,

## the following is an example of the data:

id, Nik,Phone,Date Of Birth,Gender  
1,3710144892657,6289123432134,06/06/1961,male  
2,3710155658463,6281343232123,6/17/1952,male  
3,3710153121295,628941231233,01/01/1970,female  
4,3710116643365,628380989123,01/01/1984,female

can using the date plugin filter show the current age. Can you help with this, please?

---

<div class="post-metadata">

### Author: ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)
#### Post date: [June 30, 2022, 2:49pm UTC](https://discuss.elastic.co/t/how-to-configure-current-age-using-the-date-plugin-filter-from-logstash/306244/2 "2022-06-30T14:49:51Z")

</div>

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