mirror of
https://github.com/elastic/kibana.git
synced 2025-06-27 18:51:07 -04:00
[Index Management] Remove doc link from failure store configuration modal (#224941)
This commit is contained in:
parent
8771e7f18b
commit
0176ea941b
3 changed files with 1 additions and 25 deletions
|
@ -309,7 +309,6 @@ export const getDocLinks = ({ kibanaBranch, buildFlavor }: GetDocLinkOptions): D
|
||||||
docsBase: `${ELASTIC_DOCS}solutions/search`,
|
docsBase: `${ELASTIC_DOCS}solutions/search`,
|
||||||
asyncSearch: `${ELASTIC_DOCS}solutions/search/async-search-api`,
|
asyncSearch: `${ELASTIC_DOCS}solutions/search/async-search-api`,
|
||||||
dataStreams: `${ELASTIC_DOCS}manage-data/data-store/data-streams`,
|
dataStreams: `${ELASTIC_DOCS}manage-data/data-store/data-streams`,
|
||||||
dataStreamsFailureStore: `${ELASTIC_DOCS}manage-data/data-store/data-streams/failure-store`,
|
|
||||||
deprecationLogging: `${ELASTIC_DOCS}deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels#deprecation-logging`,
|
deprecationLogging: `${ELASTIC_DOCS}deploy-manage/monitor/logging-configuration/update-elasticsearch-logging-levels#deprecation-logging`,
|
||||||
createEnrichPolicy: isServerless
|
createEnrichPolicy: isServerless
|
||||||
? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-enrich-put-policy`
|
? `${ELASTICSEARCH_SERVERLESS_APIS}operation/operation-enrich-put-policy`
|
||||||
|
|
|
@ -15,7 +15,6 @@ import {
|
||||||
EuiButtonEmpty,
|
EuiButtonEmpty,
|
||||||
EuiButton,
|
EuiButton,
|
||||||
EuiSpacer,
|
EuiSpacer,
|
||||||
EuiLink,
|
|
||||||
} from '@elastic/eui';
|
} from '@elastic/eui';
|
||||||
import { i18n } from '@kbn/i18n';
|
import { i18n } from '@kbn/i18n';
|
||||||
import { FormattedMessage } from '@kbn/i18n-react';
|
import { FormattedMessage } from '@kbn/i18n-react';
|
||||||
|
@ -28,7 +27,6 @@ import {
|
||||||
ToggleField,
|
ToggleField,
|
||||||
} from '../../../../../shared_imports';
|
} from '../../../../../shared_imports';
|
||||||
|
|
||||||
import { documentationService } from '../../../../services/documentation';
|
|
||||||
import { DataStream } from '../../../../../../common';
|
import { DataStream } from '../../../../../../common';
|
||||||
import { useAppContext } from '../../../../app_context';
|
import { useAppContext } from '../../../../app_context';
|
||||||
import { updateDSFailureStore } from '../../../../services/api';
|
import { updateDSFailureStore } from '../../../../services/api';
|
||||||
|
@ -125,22 +123,7 @@ export const ConfigureFailureStoreModal: React.FunctionComponent<Props> = ({
|
||||||
<EuiModalBody>
|
<EuiModalBody>
|
||||||
<FormattedMessage
|
<FormattedMessage
|
||||||
id="xpack.idxMgmt.dataStreams.configureFailureStoreModal.modalDescriptionText"
|
id="xpack.idxMgmt.dataStreams.configureFailureStoreModal.modalDescriptionText"
|
||||||
defaultMessage="A failure store is a secondary index within a data stream, used to store failed documents. {docLink}."
|
defaultMessage="A failure store is a secondary index within a data stream, used to store failed documents."
|
||||||
values={{
|
|
||||||
docLink: (
|
|
||||||
<EuiLink
|
|
||||||
href={documentationService.getDataStreamsFailureStoreLink()}
|
|
||||||
target="_blank"
|
|
||||||
external
|
|
||||||
data-test-subj="failureStoreDocLink"
|
|
||||||
>
|
|
||||||
<FormattedMessage
|
|
||||||
id="xpack.idxMgmt.dataStreams.configureFailureStoreModal.modalDescriptionLinkText"
|
|
||||||
defaultMessage="Learn more"
|
|
||||||
/>
|
|
||||||
</EuiLink>
|
|
||||||
),
|
|
||||||
}}
|
|
||||||
/>
|
/>
|
||||||
<EuiSpacer />
|
<EuiSpacer />
|
||||||
|
|
||||||
|
|
|
@ -16,7 +16,6 @@ class DocumentationService {
|
||||||
private esDocsBase: string = '';
|
private esDocsBase: string = '';
|
||||||
private enrichPolicies: string = '';
|
private enrichPolicies: string = '';
|
||||||
private createEnrichPolicies: string = '';
|
private createEnrichPolicies: string = '';
|
||||||
private dataStreamsFailureStore: string = '';
|
|
||||||
private matchAllQuery: string = '';
|
private matchAllQuery: string = '';
|
||||||
private indexManagement: string = '';
|
private indexManagement: string = '';
|
||||||
private indexSettings: string = '';
|
private indexSettings: string = '';
|
||||||
|
@ -79,7 +78,6 @@ class DocumentationService {
|
||||||
this.esDocsBase = links.elasticsearch.docsBase;
|
this.esDocsBase = links.elasticsearch.docsBase;
|
||||||
this.enrichPolicies = links.elasticsearch.enrichPolicies;
|
this.enrichPolicies = links.elasticsearch.enrichPolicies;
|
||||||
this.createEnrichPolicies = links.elasticsearch.createEnrichPolicy;
|
this.createEnrichPolicies = links.elasticsearch.createEnrichPolicy;
|
||||||
this.dataStreamsFailureStore = links.elasticsearch.dataStreamsFailureStore;
|
|
||||||
this.matchAllQuery = links.elasticsearch.matchAllQuery;
|
this.matchAllQuery = links.elasticsearch.matchAllQuery;
|
||||||
this.indexManagement = links.management.indexManagement;
|
this.indexManagement = links.management.indexManagement;
|
||||||
this.indexSettings = links.elasticsearch.indexSettings;
|
this.indexSettings = links.elasticsearch.indexSettings;
|
||||||
|
@ -205,10 +203,6 @@ class DocumentationService {
|
||||||
return this.createEnrichPolicies;
|
return this.createEnrichPolicies;
|
||||||
}
|
}
|
||||||
|
|
||||||
public getDataStreamsFailureStoreLink() {
|
|
||||||
return this.dataStreamsFailureStore;
|
|
||||||
}
|
|
||||||
|
|
||||||
public getMatchAllQueryLink() {
|
public getMatchAllQueryLink() {
|
||||||
return this.matchAllQuery;
|
return this.matchAllQuery;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue