How to pass in `current_unix_time` as a value for elasticsearch query?

Hi @learningelastic

Let's back up a bit

I am confused what you are actually trying to accomplish....

Are you trying to calculate the number of days from Today / Now with respect to a date field in the document?

I am not sure where that understanding comes from...

Perhaps you are looking to do something like this

1 Like