mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
* [DOCS] Adds date math to KQL doc
* [DOCS] Adds examples of date math expressions
(cherry picked from commit d64fc1ce00
)
Co-authored-by: gchaps <33642766+gchaps@users.noreply.github.com>
This commit is contained in:
parent
91324a84c9
commit
f9d6793b00
1 changed files with 14 additions and 0 deletions
|
@ -144,6 +144,20 @@ but in some cases you might need to search on dates. Include the date range in q
|
|||
@timestamp < "2021"
|
||||
-------------------
|
||||
|
||||
KQL supports date math expressions.
|
||||
|
||||
[source,yaml]
|
||||
-------------------
|
||||
@timestamp < now-1d
|
||||
-------------------
|
||||
|
||||
[source,yaml]
|
||||
-------------------
|
||||
updated_at > 2022-02-17||+1M/d
|
||||
-------------------
|
||||
|
||||
Check the
|
||||
{ref}/common-options.html#date-math[date math documentation] for more examples.
|
||||
|
||||
[discrete]
|
||||
=== Exist queries
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue