forked from elastic/kibana
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
2fdb923
commit 18194d4
Showing
2 changed files
with
38 additions
and
10 deletions.
There are no files selected for viewing
46 changes: 37 additions & 9 deletions
46
src/core_plugins/kibana/common/tutorials/logstash_instructions.js
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,13 +1,41 @@ | ||
const SKIP_INSTALL_SENTENCE = '_Skip this step if Logstash is already installed._'; | ||
const FIRST_TIME_SENTENCE = '_First time using Logstash? See the [Getting Started Guide]({config.docs.logstash}/' | ||
+ 'getting-started-with-logstash.html)._'; | ||
|
||
export const LOGSTASH_INSTRUCTIONS = { | ||
INSTALL: { | ||
OSX: { | ||
title: 'Download and install Logstash', | ||
textPre: 'Skip this step if Logstash is already installed. First time using Logstash? See the ' + | ||
'[Getting Started Guide]({config.docs.logstash}/getting-started-with-logstash.html).', | ||
commands: [ | ||
'curl -L -O https://artifacts.elastic.co/downloads/logstash/logstash-{config.kibana.version}.tar.gz', | ||
'tar xzvf logstash-{config.kibana.version}.tar.gz' | ||
] | ||
} | ||
OSX: [ | ||
{ | ||
title: 'Download and install the Java runtime environment', | ||
textPre: `Follow the installation instructions [here](https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jre.html). ` + | ||
`${SKIP_INSTALL_SENTENCE} ${FIRST_TIME_SENTENCE}`, | ||
commands: [] | ||
}, | ||
{ | ||
title: 'Download and install Logstash', | ||
textPre: SKIP_INSTALL_SENTENCE, | ||
commands: [ | ||
'curl -L -O https://artifacts.elastic.co/downloads/logstash/logstash-{config.kibana.version}.tar.gz', | ||
'tar xzvf logstash-{config.kibana.version}.tar.gz' | ||
] | ||
} | ||
], | ||
DEB: [ | ||
{ | ||
title: 'Download and install the Java runtime environment', | ||
textPre: `${SKIP_INSTALL_SENTENCE} ${FIRST_TIME_SENTENCE}`, | ||
commands: [ | ||
'sudo apt-get install default-jre' | ||
] | ||
}, | ||
{ | ||
title: 'Download and install Logstash', | ||
textPre: SKIP_INSTALL_SENTENCE, | ||
commands: [ | ||
'curl -L -O https://artifacts.elastic.co/downloads/logstash/logstash-{config.kibana.version}.deb', | ||
'sudo apt install ./logstash-{config.kibana.version}.deb' | ||
] | ||
} | ||
] | ||
} | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters