Fix windows instructions for uptime add data UI (#24587)

* Fix windows instructions for uptime add data

The windows instructions had three separate issues:

1. Redundant/unclear instruction to edit ES output settings removed
2. Incorrect invocation of the heartbeat binary without .\ prefix
3. Incorrect verbiage for modifying the `heartbeat.yml` file
This commit is contained in:
Andrew Cholakian 2018-10-25 16:51:11 -05:00 committed by GitHub
parent 8f0bda74fd
commit 133be4b16d
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -95,10 +95,6 @@ export const createHeartbeatInstructions = context => ({
'PS > cd C:\\Program Files\\Heartbeat',
'PS C:\\Program Files\\Heartbeat> .\\install-service-heartbeat.ps1',
],
textPost: i18n.translate('kbn.common.tutorials.heartbeatInstructions.install.windowsTextPost', {
defaultMessage: 'Modify the settings under `output.elasticsearch` in the {path} file to point to your Elasticsearch installation.',
values: { path: '`C:\\Program Files\\Heartbeat\\heartbeat.yml`' },
}),
}
},
START: {
@ -146,7 +142,7 @@ export const createHeartbeatInstructions = context => ({
defaultMessage: 'The `setup` command loads the Kibana dashboards. If the dashboards are already set up, omit this command.',
}),
commands: [
'PS C:\\Program Files\\Heartbeat> heartbeat.exe setup',
'PS C:\\Program Files\\Heartbeat> .\\heartbeat.exe setup',
'PS C:\\Program Files\\Heartbeat> Start-Service heartbeat',
],
},
@ -405,8 +401,7 @@ export function heartbeatEnableInstructionsOnPrem() {
WINDOWS: {
title: defaultTitle,
textPre: i18n.translate('kbn.common.tutorials.heartbeatEnableOnPremInstructions.windowsTextPre', {
defaultMessage: 'From the {path} folder, run:',
values: { path: `C:\\Program Files\\Heartbeat` },
defaultMessage: 'Modify the monitors in the `/etc/heartbeat/heartbeat.yml` file.',
}),
commands: defaultCommands,
textPost: defaultTextPost