Range query for date of “long” field type in kibana

I have a field in ES type representing date with long type.

I am trying to filter data in kibana based on this field. For example, get me the documents created in last seven days. But not able to come up with the solution.

In Kibana Visualization page, right now i have created like,

(events.time:[1458325800000 TO * ]) AND (event.type:"login")

But I need something like this

(events.time:[now-7d TO * ]) AND (event.type:"login")

Is it possible to achieve this with 'long' field type?

I am not sure that is valid, does it work at all?

For long field type, it is working for me.