[8.10] [Search] refactor(serverless_search): rename logstash doclink key (#165131) (#165158)

# Backport

This will backport the following commits from `main` to `8.10`:
- [[Search] refactor(serverless_search): rename logstash doclink key
(#165131)](https://github.com/elastic/kibana/pull/165131)

<!--- Backport version: 8.9.7 -->

### Questions ?
Please refer to the [Backport tool
documentation](https://github.com/sqren/backport)

<!--BACKPORT [{"author":{"name":"Rodney
Norris","email":"rodney.norris@elastic.co"},"sourceCommit":{"committedDate":"2023-08-29T19:46:06Z","message":"[Search]
refactor(serverless_search): rename logstash doclink key (#165131)\n\n##
Summary\r\n\r\nRenaming the `logStash` doclink key to
`logstash`","sha":"c0ac8e61750eca6aa88df8b06ae366985eb18834","branchLabelMapping":{"^v8.11.0$":"main","^v(\\d+).(\\d+).\\d+$":"$1.$2"}},"sourcePullRequest":{"labels":["backport","release_note:skip","Team:EnterpriseSearch","v8.10.0","v8.11.0"],"number":165131,"url":"https://github.com/elastic/kibana/pull/165131","mergeCommit":{"message":"[Search]
refactor(serverless_search): rename logstash doclink key (#165131)\n\n##
Summary\r\n\r\nRenaming the `logStash` doclink key to
`logstash`","sha":"c0ac8e61750eca6aa88df8b06ae366985eb18834"}},"sourceBranch":"main","suggestedTargetBranches":["8.10"],"targetPullRequestStates":[{"branch":"8.10","label":"v8.10.0","labelRegex":"^v(\\d+).(\\d+).\\d+$","isSourceBranch":false,"state":"NOT_CREATED"},{"branch":"main","label":"v8.11.0","labelRegex":"^v8.11.0$","isSourceBranch":true,"state":"MERGED","url":"https://github.com/elastic/kibana/pull/165131","number":165131,"mergeCommit":{"message":"[Search]
refactor(serverless_search): rename logstash doclink key (#165131)\n\n##
Summary\r\n\r\nRenaming the `logStash` doclink key to
`logstash`","sha":"c0ac8e61750eca6aa88df8b06ae366985eb18834"}}]}]
BACKPORT-->

Co-authored-by: Rodney Norris <rodney.norris@elastic.co>
This commit is contained in:
Kibana Machine 2023-08-29 17:39:34 -04:00 committed by GitHub
parent 0f0a7a5e90
commit bdc8416d28
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 5 additions and 5 deletions

View file

@ -25,7 +25,7 @@ interface IngestDataProps {
beats: string;
connectors: string;
integrations: string;
logStash: string;
logstash: string;
};
assetBasePath: string;
application?: ApplicationStart;

View file

@ -24,7 +24,7 @@ import { LEARN_MORE_LABEL } from '../constants';
import { GithubLink } from './github_link';
export interface IntegrationsPanelProps {
docLinks: { beats: string; connectors: string; logStash: string };
docLinks: { beats: string; connectors: string; logstash: string };
assetBasePath: string;
}
@ -61,7 +61,7 @@ export const IntegrationsPanel: React.FC<IntegrationsPanelProps> = ({
<EuiFlexGroup justifyContent="flexStart">
<EuiFlexItem>
<EuiText size="s">
<EuiLink href={docLinks.logStash} target="_blank">
<EuiLink href={docLinks.logstash} target="_blank">
{LEARN_MORE_LABEL}
</EuiLink>
</EuiText>

View file

@ -14,7 +14,7 @@ class ESDocLinks {
public integrations: string = '';
public kibanaFeedback: string = '';
public kibanaRunApiInConsole: string = '';
public logStash: string = '';
public logstash: string = '';
public metadata: string = '';
public roleDescriptors: string = '';
public securityApis: string = '';
@ -51,7 +51,7 @@ class ESDocLinks {
setDocLinks(newDocLinks: DocLinks) {
this.apiIntro = newDocLinks.serverlessClients.httpApis;
this.integrations = newDocLinks.serverlessSearch.integrations;
this.logStash = newDocLinks.serverlessSearch.integrationsLogstash;
this.logstash = newDocLinks.serverlessSearch.integrationsLogstash;
this.beats = newDocLinks.serverlessSearch.integrationsBeats;
this.connectors = newDocLinks.serverlessSearch.integrationsConnectorClient;
this.kibanaFeedback = newDocLinks.kibana.feedback;