Skip to content

Commit 039bd5d

Browse files
authored
[DOCS] Adds note on date-math expressions in reporting (#53628) (#53647)
1 parent 9725d4a commit 039bd5d

File tree

1 file changed

+11
-2
lines changed

1 file changed

+11
-2
lines changed

docs/user/reporting/watch-example.asciidoc

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,7 +56,16 @@ report from the Kibana UI.
5656
//For more information, see <<secure-reporting>>.
5757
//<<reporting-app-users, Setting up a Reporting Role>>.
5858

59-
NOTE: Reporting is integrated with {watcher} only as an email attachment type.
59+
[NOTE]
60+
====
61+
Reporting is integrated with Watcher only as an email attachment type.
62+
63+
The report Generation URL might contain date-math expressions
64+
that cause the watch to fail with a `parse_exception`.
65+
Remove curly braces `{` `}` from date-math expressions and
66+
URL-encode characters to avoid this.
67+
For example: `...(range:(%27@timestamp%27:(gte:now-15m%2Fd,lte:now%2Fd))))...`
6068
6169
For more information about configuring watches, see
62-
{ref}/how-watcher-works.html[How {watcher} works].
70+
{ref}/how-watcher-works.html[How Watcher works].
71+
====

0 commit comments

Comments
 (0)