Time Range raw timestamp minus time


(Mathias Ellapin) #1

Hi,

Is it possible to do a time range with a timestamp like this? (I can't use now):

{ "range": { "@timestamp": { "from": "2017-08-14T11:56:02-5m","to": "2017-08-14T11:56:02"}}}
Regards


(Colin Goodheart-Smithe) #2

I think you need to add || between the date and the datemath:

2017-08-14T11:56:02||-5m

(Mathias Ellapin) #3

Thank you that is what I was looking for !


(system) #4

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