mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
[8.8] [Enterprise Search][Behavioral Analytics] Add cors link to behavioral analytics (#157267) (#157379)
# Backport This will backport the following commits from `main` to `8.8`: - [[Enterprise Search][Behavioral Analytics] Add cors link to behavioral analytics (#157267)](https://github.com/elastic/kibana/pull/157267) <!--- Backport version: 8.9.7 --> ### Questions ? Please refer to the [Backport tool documentation](https://github.com/sqren/backport) <!--BACKPORT [{"author":{"name":"Yan Savitski","email":"yan.savitski@elastic.co"},"sourceCommit":{"committedDate":"2023-05-11T12:02:11Z","message":"[Enterprise Search][Behavioral Analytics] Add cors link to behavioral analytics (#157267)\n\nUpdated the link to point to the following page:\r\n\r\nhttps://www.elastic.co/guide/en/enterprise-search/master/analytics-cors-proxy.html\r\n\r\n<img width=\"1637\" alt=\"image\"\r\nsrc=\"e734763d
-4f65-4a43-b457-2344820c8e4b\">","sha":"1e5239bbc786559664a4088b40b7628e11d3b41b","branchLabelMapping":{"^v8.9.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["release_note:skip","Team:EnterpriseSearch","v8.8.0","v8.9.0"],"number":157267,"url":"https://github.com/elastic/kibana/pull/157267","mergeCommit":{"message":"[Enterprise Search][Behavioral Analytics] Add cors link to behavioral analytics (#157267)\n\nUpdated the link to point to the following page:\r\n\r\nhttps://www.elastic.co/guide/en/enterprise-search/master/analytics-cors-proxy.html\r\n\r\n<img width=\"1637\" alt=\"image\"\r\nsrc=\"e734763d
-4f65-4a43-b457-2344820c8e4b\">","sha":"1e5239bbc786559664a4088b40b7628e11d3b41b"}},"sourceBranch":"main","suggestedTargetBranches":["8.8"],"targetPullRequestStates":[{"branch":"8.8","label":"v8.8.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.9.0","labelRegex":"^v8.9.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/157267","number":157267,"mergeCommit":{"message":"[Enterprise Search][Behavioral Analytics] Add cors link to behavioral analytics (#157267)\n\nUpdated the link to point to the following page:\r\n\r\nhttps://www.elastic.co/guide/en/enterprise-search/master/analytics-cors-proxy.html\r\n\r\n<img width=\"1637\" alt=\"image\"\r\nsrc=\"e734763d
-4f65-4a43-b457-2344820c8e4b\">","sha":"1e5239bbc786559664a4088b40b7628e11d3b41b"}}]}] BACKPORT--> Co-authored-by: Yan Savitski <yan.savitski@elastic.co>
This commit is contained in:
parent
3bb1fdd20c
commit
cc73a0c026
4 changed files with 6 additions and 1 deletions
|
@ -125,6 +125,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
|
|||
enterpriseSearch: {
|
||||
apiKeys: `${KIBANA_DOCS}api-keys.html`,
|
||||
behavioralAnalytics: `${ENTERPRISE_SEARCH_DOCS}analytics-overview.html`,
|
||||
behavioralAnalyticsCORS: `${ENTERPRISE_SEARCH_DOCS}analytics-cors-proxy.html`,
|
||||
behavioralAnalyticsEvents: `${ENTERPRISE_SEARCH_DOCS}analytics-events.html`,
|
||||
buildConnector: `${ENTERPRISE_SEARCH_DOCS}build-connector.html`,
|
||||
bulkApi: `${ELASTICSEARCH_DOCS}docs-bulk.html`,
|
||||
|
|
|
@ -110,6 +110,7 @@ export interface DocLinks {
|
|||
readonly enterpriseSearch: {
|
||||
readonly apiKeys: string;
|
||||
readonly behavioralAnalytics: string;
|
||||
readonly behavioralAnalyticsCORS: string;
|
||||
readonly behavioralAnalyticsEvents: string;
|
||||
readonly buildConnector: string;
|
||||
readonly bulkApi: string;
|
||||
|
|
|
@ -90,7 +90,7 @@ http.cors.allow-headers: X-Requested-With, X-Auth-Token, Content-Type, Content-L
|
|||
)}
|
||||
</p>
|
||||
<EuiLink
|
||||
href={``}
|
||||
href={docLinks.behavioralAnalyticsCORS}
|
||||
data-telemetry-id="entSearchContent-analytics-cors-learnMoreLink"
|
||||
external
|
||||
target="_blank"
|
||||
|
|
|
@ -35,6 +35,7 @@ class DocLinks {
|
|||
public appSearchWebCrawlerEventLogs: string;
|
||||
public appSearchWebCrawlerReference: string;
|
||||
public behavioralAnalytics: string;
|
||||
public behavioralAnalyticsCORS: string;
|
||||
public behavioralAnalyticsEvents: string;
|
||||
public buildConnector: string;
|
||||
public bulkApi: string;
|
||||
|
@ -169,6 +170,7 @@ class DocLinks {
|
|||
this.appSearchWebCrawlerEventLogs = '';
|
||||
this.appSearchWebCrawlerReference = '';
|
||||
this.behavioralAnalytics = '';
|
||||
this.behavioralAnalyticsCORS = '';
|
||||
this.behavioralAnalyticsEvents = '';
|
||||
this.buildConnector = '';
|
||||
this.bulkApi = '';
|
||||
|
@ -305,6 +307,7 @@ class DocLinks {
|
|||
this.appSearchWebCrawlerEventLogs = docLinks.links.appSearch.webCrawlerEventLogs;
|
||||
this.appSearchWebCrawlerReference = docLinks.links.appSearch.webCrawlerReference;
|
||||
this.behavioralAnalytics = docLinks.links.enterpriseSearch.behavioralAnalytics;
|
||||
this.behavioralAnalyticsCORS = docLinks.links.enterpriseSearch.behavioralAnalyticsCORS;
|
||||
this.behavioralAnalyticsEvents = docLinks.links.enterpriseSearch.behavioralAnalyticsEvents;
|
||||
this.buildConnector = docLinks.links.enterpriseSearch.buildConnector;
|
||||
this.bulkApi = docLinks.links.enterpriseSearch.bulkApi;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue