From bce2624b0fecfe3486cdbbe01c13c8369e25f9b2 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 25 Apr 2025 10:15:35 -0700 Subject: [PATCH 1/6] Use new enterpriseSearch URLs in link service --- .../shared/kbn-doc-links/src/get_doc_links.ts | 149 +++++++++--------- 1 file changed, 74 insertions(+), 75 deletions(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index c0a94f2593c8b..e590995830e65 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -127,58 +127,58 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D systemModule: `${ELASTIC_WEBSITE_URL}guide/en/beats/auditbeat/${DOC_LINK_VERSION}/auditbeat-module-system.html`, }, enterpriseSearch: { - aiSearchDoc: `${ESRE_DOCS}`, - aiSearchHelp: `${ESRE_DOCS}help.html`, - apiKeys: `${KIBANA_DOCS}api-keys.html`, - behavioralAnalytics: `${ELASTICSEARCH_DOCS}behavioral-analytics-overview.html`, - behavioralAnalyticsCORS: `${ELASTICSEARCH_DOCS}behavioral-analytics-cors.html`, - behavioralAnalyticsEvents: `${ELASTICSEARCH_DOCS}behavioral-analytics-event.html`, - buildConnector: `${ELASTICSEARCH_DOCS}es-build-connector.html`, + aiSearchDoc: `https://www.elastic.co/guide/en/esre/current/`, + aiSearchHelp: `https://www.elastic.co/guide/en/esre/current/help.html`, + apiKeys: `https://www.elastic.co/docs/deploy-manage/api-keys/elasticsearch-api-keys`, + behavioralAnalytics: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-overview.html`, + behavioralAnalyticsCORS: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-cors.html`, + behavioralAnalyticsEvents: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-event.html`, + buildConnector: `https://www.elastic.co/docs/reference/search-connectors/self-managed-connectors`, bulkApi: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-bulk` : `${ELASTICSEARCH_APIS}operation/operation-bulk`, - configuration: `${ENTERPRISE_SEARCH_DOCS}configuration.html`, - connectors: `${ELASTICSEARCH_DOCS}es-connectors.html`, - connectorsClientDeploy: `${ELASTICSEARCH_DOCS}es-build-connector.html#es-connectors-deploy-connector-service`, - connectorsMappings: `${ELASTICSEARCH_DOCS}es-connectors-usage.html#es-connectors-usage-index-create-configure-existing-index`, - connectorsAzureBlobStorage: `${ELASTICSEARCH_DOCS}es-connectors-azure-blob.html`, - connectorsBox: `${ELASTICSEARCH_DOCS}es-connectors-box.html`, - connectorsClients: `${ELASTICSEARCH_DOCS}es-connectors.html#es-connectors-build`, - connectorsConfluence: `${ELASTICSEARCH_DOCS}es-connectors-confluence.html`, - connectorsDropbox: `${ELASTICSEARCH_DOCS}es-connectors-dropbox.html`, - connectorsContentExtraction: `${ELASTICSEARCH_DOCS}es-connectors-content-extraction.html`, - connectorsGithub: `${ELASTICSEARCH_DOCS}es-connectors-github.html`, - connectorsGmail: `${ELASTICSEARCH_DOCS}es-connectors-gmail.html`, - connectorsGoogleCloudStorage: `${ELASTICSEARCH_DOCS}es-connectors-google-cloud.html`, - connectorsGoogleDrive: `${ELASTICSEARCH_DOCS}es-connectors-google-drive.html`, - connectorsJira: `${ELASTICSEARCH_DOCS}es-connectors-jira.html`, - connectorsMicrosoftSQL: `${ELASTICSEARCH_DOCS}es-connectors-ms-sql.html`, - connectorsMongoDB: `${ELASTICSEARCH_DOCS}es-connectors-mongodb.html`, - connectorsMySQL: `${ELASTICSEARCH_DOCS}es-connectors-mysql.html`, - connectorsNative: `${ELASTICSEARCH_DOCS}es-connectors.html#es-connectors-native`, - connectorsNetworkDrive: `${ELASTICSEARCH_DOCS}es-connectors-network-drive.html`, - connectorsNotion: `${ELASTICSEARCH_DOCS}es-connectors-notion.html`, - connectorsOneDrive: `${ELASTICSEARCH_DOCS}es-connectors-onedrive.html`, - connectorsOracle: `${ELASTICSEARCH_DOCS}es-connectors-oracle.html`, - connectorsOutlook: `${ELASTICSEARCH_DOCS}es-connectors-outlook.html`, - connectorsPostgreSQL: `${ELASTICSEARCH_DOCS}es-connectors-postgresql.html`, - connectorsRedis: `${ELASTICSEARCH_DOCS}es-connectors-redis.html`, - connectorsS3: `${ELASTICSEARCH_DOCS}es-connectors-s3.html`, - connectorsSalesforce: `${ELASTICSEARCH_DOCS}es-connectors-salesforce.html`, - connectorsServiceNow: `${ELASTICSEARCH_DOCS}es-connectors-servicenow.html`, - connectorsSharepoint: `${ELASTICSEARCH_DOCS}es-connectors-sharepoint.html`, - connectorsSharepointOnline: `${ELASTICSEARCH_DOCS}es-connectors-sharepoint-online.html`, - connectorsSlack: `${ELASTICSEARCH_DOCS}es-connectors-slack.html`, - connectorsTeams: `${ELASTICSEARCH_DOCS}es-connectors-teams.html`, - connectorsZoom: `${ELASTICSEARCH_DOCS}es-connectors-zoom.html`, - crawlerExtractionRules: `${ENTERPRISE_SEARCH_DOCS}crawler-extraction-rules.html`, - crawlerManaging: `${ENTERPRISE_SEARCH_DOCS}crawler-managing.html`, - crawlerOverview: `${ENTERPRISE_SEARCH_DOCS}crawler.html`, - deployTrainedModels: `${MACHINE_LEARNING_DOCS}ml-nlp-deploy-models.html`, - documentLevelSecurity: `${ELASTICSEARCH_DOCS}document-level-security.html`, - e5Model: `${MACHINE_LEARNING_DOCS}ml-nlp-e5.html`, - elser: `${ELASTICSEARCH_DOCS}semantic-search-semantic-text.html`, - engines: `${ENTERPRISE_SEARCH_DOCS}engines.html`, + configuration: `https://www.elastic.co/guide/en/enterprise-search/current/configuration.html`, + connectors: `https://www.elastic.co/docs/reference/search-connectors`, + connectorsClientDeploy: `https://www.elastic.co/docs/reference/search-connectors/self-managed-connectors#es-connectors-deploy-connector-service`, + connectorsMappings: `https://www.elastic.co/docs/reference/search-connectors/connectors-ui-in-kibana#es-connectors-usage-index-create-configure-existing-index`, + connectorsAzureBlobStorage: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-azure-blob`, + connectorsBox: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-box`, + connectorsClients: `https://www.elastic.co/docs/reference/search-connectors`, + connectorsConfluence: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-confluence`, + connectorsDropbox: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-dropbox`, + connectorsContentExtraction: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-content-extraction`, + connectorsGithub: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-github`, + connectorsGmail: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-gmail`, + connectorsGoogleCloudStorage: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-google-cloud`, + connectorsGoogleDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-google-drive`, + connectorsJira: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-jira`, + connectorsMicrosoftSQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-ms-sql`, + connectorsMongoDB: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-mongodb`, + connectorsMySQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-mysql`, + connectorsNative: `https://www.elastic.co/docs/reference/search-connectors#es-connectors-native`, + connectorsNetworkDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-network-drive`, + connectorsNotion: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-notion`, + connectorsOneDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-onedrive`, + connectorsOracle: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-oracle`, + connectorsOutlook: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-outlook`, + connectorsPostgreSQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-postgresql`, + connectorsRedis: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-redis`, + connectorsS3: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-s3`, + connectorsSalesforce: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-salesforce`, + connectorsServiceNow: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-servicenow`, + connectorsSharepoint: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-sharepoint`, + connectorsSharepointOnline: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-sharepoint-online`, + connectorsSlack: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-slack`, + connectorsTeams: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-teams`, + connectorsZoom: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-zoom`, + crawlerExtractionRules: `https://www.elastic.co/guide/en/enterprise-search/current/crawler-extraction-rules.html`, + crawlerManaging: `https://www.elastic.co/guide/en/enterprise-search/current/crawler-managing.html`, + crawlerOverview: `https://www.elastic.co/guide/en/enterprise-search/current/crawler.html`, + deployTrainedModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-deploy-models`, + documentLevelSecurity: `https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level`, + e5Model: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-e5`, + elser: `https://www.elastic.co/docs/solutions/search/semantic-search/semantic-search-semantic-text`, + engines: `https://www.elastic.co/guide/en/enterprise-search/current/engines.html`, indexApi: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-create` : `${ELASTICSEARCH_APIS}operation/operation-create`, @@ -186,34 +186,33 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-inference-put` : `${ELASTICSEARCH_APIS}operation/operation-inference-put`, inferenceApisConfigureChunking: `${ELASTIC_DOCS}explore-analyze/elastic-inference/inference-api#infer-chunking-config`, - ingestionApis: `${ELASTICSEARCH_DOCS}search-with-elasticsearch.html`, - ingestPipelines: `${ELASTICSEARCH_DOCS}ingest-pipeline-search.html`, - knnSearch: `${ELASTICSEARCH_DOCS}knn-search.html`, - knnSearchCombine: `${ELASTICSEARCH_DOCS}knn-search.html#_combine_approximate_knn_with_other_features`, - languageAnalyzers: `${ELASTICSEARCH_DOCS}analysis-lang-analyzer.html`, - languageClients: `${ENTERPRISE_SEARCH_DOCS}programming-language-clients.html`, - licenseManagement: `${ENTERPRISE_SEARCH_DOCS}license-management.html`, - machineLearningStart: `${ELASTICSEARCH_DOCS}nlp-example.html`, - mailService: `${ENTERPRISE_SEARCH_DOCS}mailer-configuration.html`, - mlDocumentEnrichment: `${ELASTICSEARCH_DOCS}ingest-pipeline-search-inference.html`, - searchApplicationsTemplates: `${ELASTICSEARCH_DOCS}search-application-api.html`, - searchApplicationsSearchApi: `${ELASTICSEARCH_DOCS}search-application-security.html`, - searchApplications: `${ELASTICSEARCH_DOCS}search-application-overview.html`, - searchApplicationsSearch: `${ELASTICSEARCH_DOCS}search-application-client.html`, + ingestionApis: `https://www.elastic.co/docs/solutions/search`, + ingestPipelines: `https://www.elastic.co/docs/solutions/search/ingest-for-search`, + knnSearch: `https://www.elastic.co/docs/solutions/search/vector/knn`, + knnSearchCombine: `https://www.elastic.co/docs/solutions/search/vector/knn#_combine_approximate_knn_with_other_features`, + languageAnalyzers: `https://www.elastic.co/docs/reference/text-analysis/analysis-lang-analyzer`, + languageClients: `https://www.elastic.co/guide/en/enterprise-search/current/programming-language-clients.html`, + licenseManagement: `https://www.elastic.co/guide/en/enterprise-search/current/license-management.html`, + machineLearningStart: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/nlp-end-to-end-tutorial`, + mailService: `https://www.elastic.co/guide/en/enterprise-search/current/mailer-configuration.html`, + mlDocumentEnrichment: `https://www.elastic.co/docs/explore-analyze/machine-learning/machine-learning-in-kibana/inference-processing`, + searchApplicationsSearchApi: `https://www.elastic.co/docs/solutions/search/search-applications/search-application-security`, + searchApplications: `https://www.elastic.co/docs/solutions/search/search-applications`, + searchApplicationsSearch: `https://www.elastic.co/docs/solutions/search/search-applications/search-application-client`, searchLabs: `${SEARCH_LABS_URL}`, searchLabsRepo: `${SEARCH_LABS_REPO}`, - semanticSearch: `${ELASTICSEARCH_DOCS}semantic-search.html`, - searchTemplates: `${ELASTICSEARCH_DOCS}search-template.html`, - semanticTextField: `${ELASTICSEARCH_DOCS}semantic-text.html`, - start: `${ENTERPRISE_SEARCH_DOCS}start.html`, - supportedNlpModels: `${MACHINE_LEARNING_DOCS}ml-nlp-model-ref.html`, - syncRules: `${ELASTICSEARCH_DOCS}es-sync-rules.html`, - syncRulesAdvanced: `${ELASTICSEARCH_DOCS}es-sync-rules.html#es-sync-rules-advanced`, - trainedModels: `${MACHINE_LEARNING_DOCS}ml-trained-models.html`, - textEmbedding: `${MACHINE_LEARNING_DOCS}ml-nlp-model-ref.html#ml-nlp-model-ref-text-embedding`, - troubleshootSetup: `${ENTERPRISE_SEARCH_DOCS}troubleshoot-setup.html`, - upgrade9x: `${ENTERPRISE_SEARCH_DOCS}upgrading-to-9-x.html`, - usersAccess: `${ENTERPRISE_SEARCH_DOCS}users-access.html`, + semanticSearch: `https://www.elastic.co/docs/solutions/search/semantic-search`, + searchTemplates: `https://www.elastic.co/docs/solutions/search/search-templates`, + semanticTextField: `https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text`, + start: `https://www.elastic.co/guide/en/enterprise-search/current/start.html`, + supportedNlpModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-model-ref`, + syncRules: `https://www.elastic.co/docs/reference/search-connectors/es-sync-rules`, + syncRulesAdvanced: `https://www.elastic.co/docs/reference/search-connectors/es-sync-rules#es-sync-rules-advanced`, + trainedModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/data-frame-analytics/ml-trained-models`, + textEmbedding: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-model-ref#ml-nlp-model-ref-text-embedding`, + troubleshootSetup: `https://www.elastic.co/guide/en/enterprise-search/current/troubleshoot-setup.html`, + upgrade9x: `https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html`, + usersAccess: `https://www.elastic.co/guide/en/enterprise-search/current/users-access.html`, }, metricbeat: { base: `${ELASTIC_WEBSITE_URL}guide/en/beats/metricbeat/${DOC_LINK_VERSION}`, From 40a329d1152a2fbf506fca6fe628df39a810a690 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 25 Apr 2025 10:26:09 -0700 Subject: [PATCH 2/6] Re-add variables --- .../shared/kbn-doc-links/src/get_doc_links.ts | 144 +++++++++--------- 1 file changed, 72 insertions(+), 72 deletions(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index e590995830e65..1c89c24071880 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -129,56 +129,56 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D enterpriseSearch: { aiSearchDoc: `https://www.elastic.co/guide/en/esre/current/`, aiSearchHelp: `https://www.elastic.co/guide/en/esre/current/help.html`, - apiKeys: `https://www.elastic.co/docs/deploy-manage/api-keys/elasticsearch-api-keys`, + apiKeys: `${ELASTIC_DOCS}deploy-manage/api-keys/elasticsearch-api-keys`, behavioralAnalytics: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-overview.html`, behavioralAnalyticsCORS: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-cors.html`, behavioralAnalyticsEvents: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-event.html`, - buildConnector: `https://www.elastic.co/docs/reference/search-connectors/self-managed-connectors`, + buildConnector: `${ELASTIC_DOCS}reference/search-connectors/self-managed-connectors`, bulkApi: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-bulk` : `${ELASTICSEARCH_APIS}operation/operation-bulk`, - configuration: `https://www.elastic.co/guide/en/enterprise-search/current/configuration.html`, - connectors: `https://www.elastic.co/docs/reference/search-connectors`, - connectorsClientDeploy: `https://www.elastic.co/docs/reference/search-connectors/self-managed-connectors#es-connectors-deploy-connector-service`, - connectorsMappings: `https://www.elastic.co/docs/reference/search-connectors/connectors-ui-in-kibana#es-connectors-usage-index-create-configure-existing-index`, - connectorsAzureBlobStorage: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-azure-blob`, - connectorsBox: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-box`, - connectorsClients: `https://www.elastic.co/docs/reference/search-connectors`, - connectorsConfluence: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-confluence`, - connectorsDropbox: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-dropbox`, - connectorsContentExtraction: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-content-extraction`, - connectorsGithub: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-github`, - connectorsGmail: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-gmail`, - connectorsGoogleCloudStorage: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-google-cloud`, - connectorsGoogleDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-google-drive`, - connectorsJira: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-jira`, - connectorsMicrosoftSQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-ms-sql`, - connectorsMongoDB: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-mongodb`, - connectorsMySQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-mysql`, - connectorsNative: `https://www.elastic.co/docs/reference/search-connectors#es-connectors-native`, - connectorsNetworkDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-network-drive`, - connectorsNotion: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-notion`, - connectorsOneDrive: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-onedrive`, - connectorsOracle: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-oracle`, - connectorsOutlook: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-outlook`, - connectorsPostgreSQL: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-postgresql`, - connectorsRedis: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-redis`, - connectorsS3: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-s3`, - connectorsSalesforce: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-salesforce`, - connectorsServiceNow: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-servicenow`, - connectorsSharepoint: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-sharepoint`, - connectorsSharepointOnline: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-sharepoint-online`, - connectorsSlack: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-slack`, - connectorsTeams: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-teams`, - connectorsZoom: `https://www.elastic.co/docs/reference/search-connectors/es-connectors-zoom`, - crawlerExtractionRules: `https://www.elastic.co/guide/en/enterprise-search/current/crawler-extraction-rules.html`, - crawlerManaging: `https://www.elastic.co/guide/en/enterprise-search/current/crawler-managing.html`, - crawlerOverview: `https://www.elastic.co/guide/en/enterprise-search/current/crawler.html`, - deployTrainedModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-deploy-models`, - documentLevelSecurity: `https://www.elastic.co/docs/deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level`, - e5Model: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-e5`, - elser: `https://www.elastic.co/docs/solutions/search/semantic-search/semantic-search-semantic-text`, - engines: `https://www.elastic.co/guide/en/enterprise-search/current/engines.html`, + configuration: `${ENTERPRISE_SEARCH_DOCS}configuration.html`, + connectors: `${ELASTIC_DOCS}reference/search-connectors`, + connectorsClientDeploy: `${ELASTIC_DOCS}reference/search-connectors/self-managed-connectors#es-connectors-deploy-connector-service`, + connectorsMappings: `${ELASTIC_DOCS}reference/search-connectors/connectors-ui-in-kibana#es-connectors-usage-index-create-configure-existing-index`, + connectorsAzureBlobStorage: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-azure-blob`, + connectorsBox: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-box`, + connectorsClients: `${ELASTIC_DOCS}reference/search-connectors`, + connectorsConfluence: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-confluence`, + connectorsDropbox: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-dropbox`, + connectorsContentExtraction: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-content-extraction`, + connectorsGithub: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-github`, + connectorsGmail: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-gmail`, + connectorsGoogleCloudStorage: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-google-cloud`, + connectorsGoogleDrive: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-google-drive`, + connectorsJira: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-jira`, + connectorsMicrosoftSQL: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-ms-sql`, + connectorsMongoDB: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-mongodb`, + connectorsMySQL: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-mysql`, + connectorsNative: `${ELASTIC_DOCS}reference/search-connectors#es-connectors-native`, + connectorsNetworkDrive: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-network-drive`, + connectorsNotion: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-notion`, + connectorsOneDrive: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-onedrive`, + connectorsOracle: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-oracle`, + connectorsOutlook: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-outlook`, + connectorsPostgreSQL: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-postgresql`, + connectorsRedis: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-redis`, + connectorsS3: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-s3`, + connectorsSalesforce: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-salesforce`, + connectorsServiceNow: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-servicenow`, + connectorsSharepoint: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-sharepoint`, + connectorsSharepointOnline: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-sharepoint-online`, + connectorsSlack: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-slack`, + connectorsTeams: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-teams`, + connectorsZoom: `${ELASTIC_DOCS}reference/search-connectors/es-connectors-zoom`, + crawlerExtractionRules: `${ENTERPRISE_SEARCH_DOCS}crawler-extraction-rules.html`, + crawlerManaging: `${ENTERPRISE_SEARCH_DOCS}crawler-managing.html`, + crawlerOverview: `${ENTERPRISE_SEARCH_DOCS}crawler.html`, + deployTrainedModels: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/ml-nlp-deploy-models`, + documentLevelSecurity: `${ELASTIC_DOCS}deploy-manage/users-roles/cluster-or-deployment-auth/controlling-access-at-document-field-level`, + e5Model: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/ml-nlp-e5`, + elser: `${ELASTIC_DOCS}solutions/search/semantic-search/semantic-search-semantic-text`, + engines: `${ENTERPRISE_SEARCH_DOCS}engines.html`, indexApi: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-create` : `${ELASTICSEARCH_APIS}operation/operation-create`, @@ -186,33 +186,33 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-inference-put` : `${ELASTICSEARCH_APIS}operation/operation-inference-put`, inferenceApisConfigureChunking: `${ELASTIC_DOCS}explore-analyze/elastic-inference/inference-api#infer-chunking-config`, - ingestionApis: `https://www.elastic.co/docs/solutions/search`, - ingestPipelines: `https://www.elastic.co/docs/solutions/search/ingest-for-search`, - knnSearch: `https://www.elastic.co/docs/solutions/search/vector/knn`, - knnSearchCombine: `https://www.elastic.co/docs/solutions/search/vector/knn#_combine_approximate_knn_with_other_features`, - languageAnalyzers: `https://www.elastic.co/docs/reference/text-analysis/analysis-lang-analyzer`, - languageClients: `https://www.elastic.co/guide/en/enterprise-search/current/programming-language-clients.html`, - licenseManagement: `https://www.elastic.co/guide/en/enterprise-search/current/license-management.html`, - machineLearningStart: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/nlp-end-to-end-tutorial`, - mailService: `https://www.elastic.co/guide/en/enterprise-search/current/mailer-configuration.html`, - mlDocumentEnrichment: `https://www.elastic.co/docs/explore-analyze/machine-learning/machine-learning-in-kibana/inference-processing`, - searchApplicationsSearchApi: `https://www.elastic.co/docs/solutions/search/search-applications/search-application-security`, - searchApplications: `https://www.elastic.co/docs/solutions/search/search-applications`, - searchApplicationsSearch: `https://www.elastic.co/docs/solutions/search/search-applications/search-application-client`, + ingestionApis: `${ELASTIC_DOCS}solutions/search`, + ingestPipelines: `${ELASTIC_DOCS}solutions/search/ingest-for-search`, + knnSearch: `${ELASTIC_DOCS}solutions/search/vector/knn`, + knnSearchCombine: `${ELASTIC_DOCS}solutions/search/vector/knn#_combine_approximate_knn_with_other_features`, + languageAnalyzers: `${ELASTIC_DOCS}reference/text-analysis/analysis-lang-analyzer`, + languageClients: `${ENTERPRISE_SEARCH_DOCS}programming-language-clients.html`, + licenseManagement: `${ENTERPRISE_SEARCH_DOCS}license-management.html`, + machineLearningStart: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/nlp-end-to-end-tutorial`, + mailService: `${ENTERPRISE_SEARCH_DOCS}mailer-configuration.html`, + mlDocumentEnrichment: `${ELASTIC_DOCS}explore-analyze/machine-learning/machine-learning-in-kibana/inference-processing`, + searchApplicationsSearchApi: `${ELASTIC_DOCS}solutions/search/search-applications/search-application-security`, + searchApplications: `${ELASTIC_DOCS}solutions/search/search-applications`, + searchApplicationsSearch: `${ELASTIC_DOCS}solutions/search/search-applications/search-application-client`, searchLabs: `${SEARCH_LABS_URL}`, searchLabsRepo: `${SEARCH_LABS_REPO}`, - semanticSearch: `https://www.elastic.co/docs/solutions/search/semantic-search`, - searchTemplates: `https://www.elastic.co/docs/solutions/search/search-templates`, - semanticTextField: `https://www.elastic.co/docs/reference/elasticsearch/mapping-reference/semantic-text`, - start: `https://www.elastic.co/guide/en/enterprise-search/current/start.html`, - supportedNlpModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-model-ref`, - syncRules: `https://www.elastic.co/docs/reference/search-connectors/es-sync-rules`, - syncRulesAdvanced: `https://www.elastic.co/docs/reference/search-connectors/es-sync-rules#es-sync-rules-advanced`, - trainedModels: `https://www.elastic.co/docs/explore-analyze/machine-learning/data-frame-analytics/ml-trained-models`, - textEmbedding: `https://www.elastic.co/docs/explore-analyze/machine-learning/nlp/ml-nlp-model-ref#ml-nlp-model-ref-text-embedding`, - troubleshootSetup: `https://www.elastic.co/guide/en/enterprise-search/current/troubleshoot-setup.html`, - upgrade9x: `https://www.elastic.co/guide/en/enterprise-search/current/upgrading-to-9-x.html`, - usersAccess: `https://www.elastic.co/guide/en/enterprise-search/current/users-access.html`, + semanticSearch: `${ELASTIC_DOCS}solutions/search/semantic-search`, + searchTemplates: `${ELASTIC_DOCS}solutions/search/search-templates`, + semanticTextField: `${ELASTIC_DOCS}reference/elasticsearch/mapping-reference/semantic-text`, + start: `${ENTERPRISE_SEARCH_DOCS}start.html`, + supportedNlpModels: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/ml-nlp-model-ref`, + syncRules: `${ELASTIC_DOCS}reference/search-connectors/es-sync-rules`, + syncRulesAdvanced: `${ELASTIC_DOCS}reference/search-connectors/es-sync-rules#es-sync-rules-advanced`, + trainedModels: `${ELASTIC_DOCS}explore-analyze/machine-learning/data-frame-analytics/ml-trained-models`, + textEmbedding: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/ml-nlp-model-ref#ml-nlp-model-ref-text-embedding`, + troubleshootSetup: `${ENTERPRISE_SEARCH_DOCS}troubleshoot-setup.html`, + upgrade9x: `${ENTERPRISE_SEARCH_DOCS}upgrading-to-9-x.html`, + usersAccess: `${ENTERPRISE_SEARCH_DOCS}users-access.html`, }, metricbeat: { base: `${ELASTIC_WEBSITE_URL}guide/en/beats/metricbeat/${DOC_LINK_VERSION}`, @@ -561,9 +561,9 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D nlpImportModel: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/ml-nlp-import-model`, }, transforms: { - guide: `https://www.elastic.co/docs/explore-analyze/transforms`, - alertingRules: `https://www.elastic.co/docs/explore-analyze/transforms/transform-alerts`, - overview: `https://www.elastic.co/docs/explore-analyze/transforms/transform-overview`, + guide: `${ELASTIC_DOCS}explore-analyze/transforms`, + alertingRules: `${ELASTIC_DOCS}explore-analyze/transforms/transform-alerts`, + overview: `${ELASTIC_DOCS}explore-analyze/transforms/transform-overview`, }, visualize: { guide: `${KIBANA_DOCS}_panels_and_visualizations.html`, From 87f2107043c8dd263bcc92e456aebd409c66a028 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 25 Apr 2025 10:27:43 -0700 Subject: [PATCH 3/6] Re-add ESRE_DOCS variable --- .../packages/shared/kbn-doc-links/src/get_doc_links.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 1c89c24071880..55b817842e6ab 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -127,8 +127,8 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D systemModule: `${ELASTIC_WEBSITE_URL}guide/en/beats/auditbeat/${DOC_LINK_VERSION}/auditbeat-module-system.html`, }, enterpriseSearch: { - aiSearchDoc: `https://www.elastic.co/guide/en/esre/current/`, - aiSearchHelp: `https://www.elastic.co/guide/en/esre/current/help.html`, + aiSearchDoc: `${ESRE_DOCS}`, + aiSearchHelp: `${ESRE_DOCS}help.html`, apiKeys: `${ELASTIC_DOCS}deploy-manage/api-keys/elasticsearch-api-keys`, behavioralAnalytics: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-overview.html`, behavioralAnalyticsCORS: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-cors.html`, From c5bd5dfb084d9f389236660b7c088bb6e23b16a6 Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 25 Apr 2025 10:30:38 -0700 Subject: [PATCH 4/6] Re-add ELASTICSEARCH_DOCS --- .../packages/shared/kbn-doc-links/src/get_doc_links.ts | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 55b817842e6ab..54e2ca32cd0df 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -41,7 +41,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D const ENTERPRISE_SEARCH_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/enterprise-search/${DOC_LINK_VERSION}/`; const ESRE_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/esre/${DOC_LINK_VERSION}/`; const SEARCH_UI_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/search-ui/current/`; - const MACHINE_LEARNING_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/machine-learning/${DOC_LINK_VERSION}/`; const SERVERLESS_DOCS = `${ELASTIC_WEBSITE_URL}guide/en/serverless/current/`; const SEARCH_LABS_REPO = `${ELASTIC_GITHUB}elasticsearch-labs/`; const isServerless = buildFlavor === 'serverless'; @@ -130,9 +129,9 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D aiSearchDoc: `${ESRE_DOCS}`, aiSearchHelp: `${ESRE_DOCS}help.html`, apiKeys: `${ELASTIC_DOCS}deploy-manage/api-keys/elasticsearch-api-keys`, - behavioralAnalytics: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-overview.html`, - behavioralAnalyticsCORS: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-cors.html`, - behavioralAnalyticsEvents: `https://www.elastic.co/guide/en/elasticsearch/reference/8.18/behavioral-analytics-event.html`, + behavioralAnalytics: `${ELASTICSEARCH_DOCS}behavioral-analytics-overview.html`, + behavioralAnalyticsCORS: `${ELASTICSEARCH_DOCS}behavioral-analytics-cors.html`, + behavioralAnalyticsEvents: `${ELASTICSEARCH_DOCS}behavioral-analytics-event.html`, buildConnector: `${ELASTIC_DOCS}reference/search-connectors/self-managed-connectors`, bulkApi: isServerless ? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-bulk` From 8ffdc62e3aaf2088fa72c8acfb12445713c39f1d Mon Sep 17 00:00:00 2001 From: lcawl Date: Fri, 25 Apr 2025 12:09:03 -0700 Subject: [PATCH 5/6] Fix typo --- src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index 54e2ca32cd0df..f32f33fc63c86 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -195,6 +195,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D machineLearningStart: `${ELASTIC_DOCS}explore-analyze/machine-learning/nlp/nlp-end-to-end-tutorial`, mailService: `${ENTERPRISE_SEARCH_DOCS}mailer-configuration.html`, mlDocumentEnrichment: `${ELASTIC_DOCS}explore-analyze/machine-learning/machine-learning-in-kibana/inference-processing`, + searchApplicationsTemplates: `${ELASTIC_DOCS}solutions/search/search-applications/search-application-api`, searchApplicationsSearchApi: `${ELASTIC_DOCS}solutions/search/search-applications/search-application-security`, searchApplications: `${ELASTIC_DOCS}solutions/search/search-applications`, searchApplicationsSearch: `${ELASTIC_DOCS}solutions/search/search-applications/search-application-client`, From 1668ccd31ff89c92a8162e29c4a351af2bee0c23 Mon Sep 17 00:00:00 2001 From: Lisa Cawley Date: Mon, 28 Apr 2025 08:59:31 -0700 Subject: [PATCH 6/6] Update src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts Co-authored-by: Liam Thompson <32779855+leemthompo@users.noreply.github.com> --- src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts index f32f33fc63c86..f9397ea966785 100644 --- a/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts +++ b/src/platform/packages/shared/kbn-doc-links/src/get_doc_links.ts @@ -186,7 +186,7 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D : `${ELASTICSEARCH_APIS}operation/operation-inference-put`, inferenceApisConfigureChunking: `${ELASTIC_DOCS}explore-analyze/elastic-inference/inference-api#infer-chunking-config`, ingestionApis: `${ELASTIC_DOCS}solutions/search`, - ingestPipelines: `${ELASTIC_DOCS}solutions/search/ingest-for-search`, + ingestPipelines: `${ELASTIC_DOCS}solutions/search/search-pipelines`, knnSearch: `${ELASTIC_DOCS}solutions/search/vector/knn`, knnSearchCombine: `${ELASTIC_DOCS}solutions/search/vector/knn#_combine_approximate_knn_with_other_features`, languageAnalyzers: `${ELASTIC_DOCS}reference/text-analysis/analysis-lang-analyzer`,