mirror of
https://github.com/elastic/kibana.git
synced 2025-04-24 01:38:56 -04:00
Remove prompt, fix quotes from windows examples Our windows add data examples are inconsistent with our other platform examples in that they include the prompt in their example. This breaks the "copy snippet" buttons. In addition to this, since they do not quote `C:\Program files` when used as an argument these commands are broken due to the space. This PR fixes both issues.
This commit is contained in:
parent
7577fbb0df
commit
3d9451c381
4 changed files with 16 additions and 16 deletions
|
@ -102,8 +102,8 @@ export const createFilebeatInstructions = context => ({
|
|||
}
|
||||
}),
|
||||
commands: [
|
||||
'PS > cd C:\\Program Files\\Filebeat',
|
||||
'PS C:\\Program Files\\Filebeat> .\\install-service-filebeat.ps1',
|
||||
'cd "C:\\Program Files\\Filebeat"',
|
||||
'.\\install-service-filebeat.ps1',
|
||||
],
|
||||
textPost: i18n.translate('kbn.common.tutorials.filebeatInstructions.install.windowsTextPost', {
|
||||
defaultMessage: 'Modify the settings under {propertyName} in the {filebeatPath} file to point to your Elasticsearch installation.',
|
||||
|
@ -159,8 +159,8 @@ export const createFilebeatInstructions = context => ({
|
|||
defaultMessage: 'The `setup` command loads the Kibana dashboards. If the dashboards are already set up, omit this command.',
|
||||
}),
|
||||
commands: [
|
||||
'PS C:\\Program Files\\Filebeat> filebeat.exe setup',
|
||||
'PS C:\\Program Files\\Filebeat> Start-Service filebeat',
|
||||
'.\\filebeat.exe setup',
|
||||
'Start-Service filebeat',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -446,7 +446,7 @@ export function filebeatEnableInstructions(moduleName) {
|
|||
values: { path: `C:\\Program Files\\Filebeat` },
|
||||
}),
|
||||
commands: [
|
||||
'PS C:\\Program Files\\Filebeat> filebeat.exe modules enable ' + moduleName,
|
||||
'filebeat.exe modules enable ' + moduleName,
|
||||
],
|
||||
textPost: i18n.translate('kbn.common.tutorials.filebeatEnableInstructions.windowsTextPost', {
|
||||
defaultMessage: 'Modify the settings in the `modules.d/{moduleName}.yml` file.',
|
||||
|
|
|
@ -92,8 +92,8 @@ export const createHeartbeatInstructions = context => ({
|
|||
},
|
||||
}),
|
||||
commands: [
|
||||
'PS > cd C:\\Program Files\\Heartbeat',
|
||||
'PS C:\\Program Files\\Heartbeat> .\\install-service-heartbeat.ps1',
|
||||
'cd "C:\\Program Files\\Heartbeat"',
|
||||
'.\\install-service-heartbeat.ps1',
|
||||
],
|
||||
}
|
||||
},
|
||||
|
@ -142,8 +142,8 @@ 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> Start-Service heartbeat',
|
||||
'.\\heartbeat.exe setup',
|
||||
'Start-Service heartbeat',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
|
|
@ -92,8 +92,8 @@ export const createMetricbeatInstructions = context => ({
|
|||
},
|
||||
}),
|
||||
commands: [
|
||||
'PS > cd C:\\Program Files\\Metricbeat',
|
||||
'PS C:\\Program Files\\Metricbeat> .\\install-service-metricbeat.ps1',
|
||||
'cd "C:\\Program Files\\Metricbeat"',
|
||||
'.\\install-service-metricbeat.ps1',
|
||||
],
|
||||
textPost: i18n.translate('kbn.common.tutorials.metricbeatInstructions.install.windowsTextPost', {
|
||||
defaultMessage: 'Modify the settings under `output.elasticsearch` in the {path} file to point to your Elasticsearch installation.',
|
||||
|
@ -146,8 +146,8 @@ export const createMetricbeatInstructions = context => ({
|
|||
defaultMessage: 'The `setup` command loads the Kibana dashboards. If the dashboards are already set up, omit this command.',
|
||||
}),
|
||||
commands: [
|
||||
'PS C:\\Program Files\\Metricbeat> metricbeat.exe setup',
|
||||
'PS C:\\Program Files\\Metricbeat> Start-Service metricbeat',
|
||||
'.\\metricbeat.exe setup',
|
||||
'Start-Service metricbeat',
|
||||
],
|
||||
},
|
||||
},
|
||||
|
@ -406,7 +406,7 @@ export function metricbeatEnableInstructions(moduleName) {
|
|||
values: { path: `C:\\Program Files\\Metricbeat` },
|
||||
}),
|
||||
commands: [
|
||||
'PS C:\\Program Files\\Metricbeat> metricbeat.exe modules enable ' + moduleName,
|
||||
'.\\metricbeat.exe modules enable ' + moduleName,
|
||||
],
|
||||
textPost: i18n.translate('kbn.common.tutorials.metricbeatEnableInstructions.windowsTextPost', {
|
||||
defaultMessage: 'Modify the settings in the `modules.d/{moduleName}.yml` file.',
|
||||
|
|
|
@ -122,8 +122,8 @@ PowerShell.\n5. From the PowerShell prompt, run the following commands to instal
|
|||
}
|
||||
}),
|
||||
commands: [
|
||||
`PS > cd 'C:\\Program Files\\APM-Server'`,
|
||||
`PS C:\\Program Files\\APM-Server> .\\install-service-apm-server.ps1`,
|
||||
`cd 'C:\\Program Files\\APM-Server'`,
|
||||
`.\\install-service-apm-server.ps1`,
|
||||
],
|
||||
textPost: i18n.translate('kbn.server.tutorials.apm.windowsServerInstructions.textPost', {
|
||||
defaultMessage: 'Note: If script execution is disabled on your system, \
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue