mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 09:48:58 -04:00
[Behavioral Analytics] add behavioural analytics to doc_links + updat… (#150617)
Fixing issue https://github.com/elastic/enterprise-search-team/issues/3899 Added url to behavioral analytics and updated link
This commit is contained in:
parent
9fac2c4e81
commit
d341cc3157
4 changed files with 7 additions and 1 deletions
|
@ -124,6 +124,7 @@ export const getDocLinks = ({ kibanaBranch }: GetDocLinkOptions): DocLinks => {
|
|||
},
|
||||
enterpriseSearch: {
|
||||
apiKeys: `${KIBANA_DOCS}api-keys.html`,
|
||||
behavioralAnalytics: `${ENTERPRISE_SEARCH_DOCS}analytics-overview.html`,
|
||||
behavioralAnalyticsEvents: `${ENTERPRISE_SEARCH_DOCS}analytics-events.html`,
|
||||
bulkApi: `${ELASTICSEARCH_DOCS}docs-bulk.html`,
|
||||
configuration: `${ENTERPRISE_SEARCH_DOCS}configuration.html`,
|
||||
|
|
|
@ -109,6 +109,7 @@ export interface DocLinks {
|
|||
};
|
||||
readonly enterpriseSearch: {
|
||||
readonly apiKeys: string;
|
||||
readonly behavioralAnalytics: string;
|
||||
readonly behavioralAnalyticsEvents: string;
|
||||
readonly bulkApi: string;
|
||||
readonly configuration: string;
|
||||
|
|
|
@ -15,6 +15,7 @@ import { FormattedMessage } from '@kbn/i18n-react';
|
|||
|
||||
import { ENTERPRISE_SEARCH_ANALYTICS_LOGS_SOURCE_ID } from '../../../../../common/constants';
|
||||
import { AnalyticsCollection } from '../../../../../common/types/analytics';
|
||||
import { docLinks } from '../../../shared/doc_links';
|
||||
import { generateEncodedPath } from '../../../shared/encode_path_params';
|
||||
import { KibanaLogic } from '../../../shared/kibana';
|
||||
|
||||
|
@ -97,7 +98,7 @@ export const AnalyticsCollectionEvents: React.FC<AnalyticsCollectionEventsProps>
|
|||
</EuiButton>
|
||||
}
|
||||
footer={
|
||||
<EuiLink href="#" target="_blank">
|
||||
<EuiLink href={docLinks.behavioralAnalytics} target="_blank">
|
||||
{i18n.translate(
|
||||
'xpack.enterpriseSearch.analytics.collections.collectionsView.eventsTab.emptyState.footer',
|
||||
{
|
||||
|
|
|
@ -34,6 +34,7 @@ class DocLinks {
|
|||
public appSearchWebCrawler: string;
|
||||
public appSearchWebCrawlerEventLogs: string;
|
||||
public appSearchWebCrawlerReference: string;
|
||||
public behavioralAnalytics: string;
|
||||
public behavioralAnalyticsEvents: string;
|
||||
public bulkApi: string;
|
||||
public clientsGoIndex: string;
|
||||
|
@ -150,6 +151,7 @@ class DocLinks {
|
|||
this.appSearchWebCrawler = '';
|
||||
this.appSearchWebCrawlerEventLogs = '';
|
||||
this.appSearchWebCrawlerReference = '';
|
||||
this.behavioralAnalytics = '';
|
||||
this.behavioralAnalyticsEvents = '';
|
||||
this.bulkApi = '';
|
||||
this.clientsGoIndex = '';
|
||||
|
@ -268,6 +270,7 @@ class DocLinks {
|
|||
this.appSearchWebCrawler = docLinks.links.appSearch.webCrawler;
|
||||
this.appSearchWebCrawlerEventLogs = docLinks.links.appSearch.webCrawlerEventLogs;
|
||||
this.appSearchWebCrawlerReference = docLinks.links.appSearch.webCrawlerReference;
|
||||
this.behavioralAnalytics = docLinks.links.enterpriseSearch.behavioralAnalytics;
|
||||
this.behavioralAnalyticsEvents = docLinks.links.enterpriseSearch.behavioralAnalyticsEvents;
|
||||
this.bulkApi = docLinks.links.enterpriseSearch.bulkApi;
|
||||
this.clientsGoIndex = docLinks.links.clients.goIndex;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue