Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
276 changes: 136 additions & 140 deletions src/core_plugins/kibana/common/tutorials/filebeat_instructions.js

Large diffs are not rendered by default.

28 changes: 16 additions & 12 deletions src/core_plugins/kibana/common/tutorials/logstash_instructions.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,35 +17,39 @@
* under the License.
*/

export const LOGSTASH_INSTRUCTIONS = {
export const createLogstashInstructions = () => ({
INSTALL: {
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).'
textPre:
'Follow the installation instructions [here](https://docs.oracle.com/javase/8/docs/technotes/guides/install/mac_jre.html).',
},
{
title: 'Download and install Logstash',
textPre: 'First time using Logstash? See the ' +
textPre:
'First time using Logstash? See the ' +
'[Getting Started Guide]({config.docs.base_url}guide/en/logstash/current/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'
]
}
'tar xzvf logstash-{config.kibana.version}.tar.gz',
],
},
],
WINDOWS: [
{
title: 'Download and install the Java Runtime Environment',
textPre: 'Follow the installation instructions [here](https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_jre_install.html).'
textPre:
'Follow the installation instructions [here](https://docs.oracle.com/javase/8/docs/technotes/guides/install/windows_jre_install.html).',
},
{
title: 'Download and install Logstash',
textPre: 'First time using Logstash? See the ' +
textPre:
'First time using Logstash? See the ' +
'[Getting Started Guide]({config.docs.base_url}guide/en/logstash/current/getting-started-with-logstash.html).\n' +
' 1. [Download](https://artifacts.elastic.co/downloads/logstash/logstash-{config.kibana.version}.zip) the Logstash Windows zip file.\n' +
' 2. Extract the contents of the zip file.'
}
' 2. Extract the contents of the zip file.',
},
],
}
};
},
});
Loading