From 93cfa3391d71051cfff1e296c416ca1c4ef9289f Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 16 Nov 2024 10:09:19 -0700 Subject: [PATCH] fixing timestamp examples --- search/search.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/search/search.md b/search/search.md index c24b7a2e..ccd8bff6 100644 --- a/search/search.md +++ b/search/search.md @@ -262,7 +262,7 @@ It is also possible to use concrete timestamps. Any timestamp supported by [time For example: ```gravwell -start="2006-01-02T15:04:05Z07:00" end="2006-01-02T23:04:05Z07:00" tag=default json foo table +start="2006-01-02T15:04:05Z" end="2006-01-02T23:04:05Z" tag=default json foo table ``` The example above uses RFC3339 timestamps to specify a concrete time range. @@ -278,7 +278,7 @@ In the example above, the `end=` constraint is omitted, which sets the end of th Additionally, relative and concrete timestamps can be combined. For example, to search from January 2nd, 2006, up to an hour ago: ```gravwell -start="2006-01-02T15:04:05Z07:00" end=-1h tag=default json foo table +start="2006-01-02T15:04:05Z" end=-1h tag=default json foo table ``` ```{note}