mirror of
https://github.com/elastic/kibana.git
synced 2025-04-23 17:28:26 -04:00
[DOC] Mention CORS is required when external URLs are allowed in Vega (#118862)
* [DOC] Mention CORS is required when external URLs are allowed in Vega Mention CORS is required when external URLs are allowed in Vega. * Update docs/user/dashboard/vega-reference.asciidoc Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co> * Update docs/user/dashboard/vega-reference.asciidoc Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co> Co-authored-by: Kaarina Tungseth <kaarina.tungseth@elastic.co>
This commit is contained in:
parent
0cd251ec4d
commit
bb7ae01362
1 changed files with 3 additions and 0 deletions
|
@ -351,6 +351,9 @@ a configuration option for changing the tooltip position and padding:
|
|||
*Vega* can load data from any URL. To enable, set `vis_type_vega.enableExternalUrls: true` in `kibana.yml`,
|
||||
then restart {kib}.
|
||||
|
||||
The files that the external URLs load must allow https://developer.mozilla.org/en-US/docs/Web/HTTP/CORS[CORS].
|
||||
The remote URL must include `Access-Control-Allow-Origin`, which allows requests from the {kib} URL.
|
||||
|
||||
You can make the current time range part of the external as a millisecond timestamp by using the placeholders `%timefilter_min%` and `%timefilter_max%`, e.g. `http://example.com?min=%timefilter_min%`.
|
||||
|
||||
[float]
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue