Skip to content

Commit

Permalink
folder path to variable
Browse files Browse the repository at this point in the history
  • Loading branch information
yankouskia committed Aug 17, 2018
1 parent 6d54671 commit e0bcbfc
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,13 @@ export const FILEBEAT_INSTRUCTIONS = {
// eslint-disable-next-line
defaultMessage: 'First time using Filebeat? See the [Getting Started Guide]({guideLinkUrl}).\n\
1. Download the Filebeat Windows zip file from the [Download]({filebeatLinkUrl}) page.\n\
2. Extract the contents of the zip file into `C:\\u005cProgram Files`.\n\
2. Extract the contents of the zip file into {folderPath}.\n\
3. Rename the `{directoryName}` directory to `Filebeat`.\n\
4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select\
**Run As Administrator**). If you are running Windows XP, you might need to download and install PowerShell.\n\
5. From the PowerShell prompt, run the following commands to install Filebeat as a Windows service.',
values: {
folderPath: '`C:\\Program Files`',
guideLinkUrl: '{config.docs.beats.filebeat}/filebeat-getting-started.html',
filebeatLinkUrl: 'https://www.elastic.co/downloads/beats/filebeat',
directoryName: 'filebeat-{config.kibana.version}-windows',
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,12 +79,14 @@ export const METRICBEAT_INSTRUCTIONS = {
// eslint-disable-next-line
defaultMessage: 'First time using Metricbeat? See the [Getting Started Guide]({metricbeatLink}).\n\
1. Download the Metricbeat Windows zip file from the [Download]({elasticLink}) page.\n\
2. Extract the contents of the zip file into `C:\\Program Files`.\n\
3. Rename the `metricbeat-{config.kibana.version}-windows` directory to `Metricbeat`.\n\
2. Extract the contents of the zip file into {folderPath}.\n\
3. Rename the {directoryName} directory to `Metricbeat`.\n\
4. Open a PowerShell prompt as an Administrator (right-click the PowerShell icon and select\
**Run As Administrator**). If you are running Windows XP, you might need to download and install PowerShell.\n\
5. From the PowerShell prompt, run the following commands to install Metricbeat as a Windows service.',
values: {
directoryName: '`metricbeat-{config.kibana.version}-windows`',
folderPath: '`C:\\Program Files`',
metricbeatLink: '{config.docs.beats.metricbeat}/metricbeat-getting-started.html',
elasticLink: 'https://www.elastic.co/downloads/beats/metricbeat',
},
Expand Down

0 comments on commit e0bcbfc

Please sign in to comment.