[SIEM] Improves map configuration text on Network page (#52469)

* updates SIEM network page maps conf message

* corrects link atts

* updated message

* updated message again

* finally

* updates after feedback
This commit is contained in:
Ben Skelker 2019-12-11 17:41:24 +02:00 committed by GitHub
parent 8c19b5e017
commit 6f79046ff2
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 20 additions and 4 deletions

View file

@ -16,7 +16,7 @@ exports[`IndexPatternsMissingPrompt renders correctly against snapshot 1`] = `
<React.Fragment>
<p>
<FormattedMessage
defaultMessage="An ECS compliant Kibana index pattern must be configured to view events on the map. When using {beats}, you can run the {setup} command on your hosts to automatically create the index patterns. For example: {example}."
defaultMessage="To display map data, you must define SIEM indices ({defaultIndex}) and Kibana index patterns with identical names or glob patterns. When using {beats}, you can run the {setup} command on your hosts to automatically create the index patterns. For example: {example}."
id="xpack.siem.components.embeddables.indexPatternsMissingPrompt.errorDescription1"
values={
Object {
@ -27,6 +27,13 @@ exports[`IndexPatternsMissingPrompt renders correctly against snapshot 1`] = `
>
beats
</a>,
"defaultIndex": <a
href="/test/base/path/app/kibana#/management/kibana/settings"
rel="noopener noreferrer"
target="_blank"
>
siem:defaultIndex
</a>,
"example": <EuiCode>
./packetbeat setup
</EuiCode>,
@ -39,7 +46,7 @@ exports[`IndexPatternsMissingPrompt renders correctly against snapshot 1`] = `
</p>
<p>
<FormattedMessage
defaultMessage="You can also configure them manually in Kibana."
defaultMessage="You can also configure index patterns manually in Kibana."
id="xpack.siem.components.embeddables.indexPatternsMissingPrompt.errorDescription2"
values={Object {}}
/>

View file

@ -21,9 +21,18 @@ export const IndexPatternsMissingPromptComponent = () => (
<>
<p>
<FormattedMessage
defaultMessage="An ECS compliant Kibana index pattern must be configured to view events on the map. When using {beats}, you can run the {setup} command on your hosts to automatically create the index patterns. For example: {example}."
defaultMessage="To display map data, you must define SIEM indices ({defaultIndex}) and Kibana index patterns with identical names or glob patterns. When using {beats}, you can run the {setup} command on your hosts to automatically create the index patterns. For example: {example}."
id="xpack.siem.components.embeddables.indexPatternsMissingPrompt.errorDescription1"
values={{
defaultIndex: (
<a
href={`${chrome.getBasePath()}/app/kibana#/management/kibana/settings`}
rel="noopener noreferrer"
target="_blank"
>
{'siem:defaultIndex'}
</a>
),
beats: (
<a
href={`${ELASTIC_WEBSITE_URL}guide/en/beats/libbeat/${DOC_LINK_VERSION}/getting-started.html`}
@ -41,7 +50,7 @@ export const IndexPatternsMissingPromptComponent = () => (
<p>
<FormattedMessage
defaultMessage="You can also configure them manually in Kibana."
defaultMessage="You can also configure index patterns manually in Kibana."
id="xpack.siem.components.embeddables.indexPatternsMissingPrompt.errorDescription2"
/>
</p>