I have elastic search and kibana version 7.X
I have a document with date fields:
- start_date
- end_date
- created_at
I wanted to get the number of people I have in my database by month --> A line chart with x-axis date histogram and count on y-axis did the trick.
Now I would like to have the number of active people by month. An active person is one where the current date is between the start and end date. I can't seem to know how to proceed here and apply the appropriate filters
Is this possible with Kibana?
I was able to find a partial solution by using filters. But here I create the values manually and hardcode the ranges. Any way to automate this?