forked from packetb-old/kibana
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Tutorials] Netflow: instructions for onPremCloud (elastic#18)
* Extract common on-prem cloud instructions so LS and Beats can share them * Extracting common instructions; adding onPremCloud instructions
- Loading branch information
1 parent
2e4e4c7
commit c750d50
Showing
7 changed files
with
77 additions
and
45 deletions.
There are no files selected for viewing
15 changes: 0 additions & 15 deletions
15
src/core_plugins/kibana/common/tutorials/filebeat_onprem_cloud_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
16 changes: 16 additions & 0 deletions
16
src/core_plugins/kibana/common/tutorials/onprem_cloud_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 |
---|---|---|
@@ -0,0 +1,16 @@ | ||
export const TRYCLOUD_OPTION1 = { | ||
title: 'Option 1: Try module in Elastic Cloud', | ||
textPre: 'Go to [Elastic Cloud](https://cloud.elastic.co/). Register if you ' + | ||
'don\'t have an account.\n' + | ||
' * Select **Create Cluster**, leave size slider at 4 GB RAM, and click **Create**\n' + | ||
' * Wait for the cluster plan to complete.\n' + | ||
' * Go to the new Cloud Kibana instance and follow the Kibana Home instructions.' | ||
|
||
}; | ||
|
||
export const TRYCLOUD_OPTION2 = { | ||
title: 'Option 2: Local Kibana connected to a Cloud instance', | ||
textPre: 'If you are running this Kibana instance against a hosted Elasticsearch instance,' + | ||
' proceed with manual setup.\n' + | ||
' * In **Overview >> Endpoints** note **Elasticsearch** as `<es_url>`' | ||
}; |
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
32 changes: 32 additions & 0 deletions
32
src/core_plugins/kibana/server/tutorials/netflow/common_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 |
---|---|---|
@@ -0,0 +1,32 @@ | ||
export const COMMON_NETFLOW_INSTRUCTIONS = { | ||
CONFIG: { | ||
OSX: [ | ||
{ | ||
title: 'Edit the configuration', | ||
textPre: 'While in the Logstash install directory, modify `config/logstash.yml` to set the' | ||
+ ' configuration parameters for the Netflow module:', | ||
commands: [ | ||
'modules:', | ||
' - name: netflow', | ||
' var.input.udp.port: <udp_port_for_receving_netflow_data>', | ||
' var.elasticsearch.hosts: [ "<es_url>" ]', | ||
' var.kibana.host: "<kibana_hostname>:<kibana_port>"' | ||
] | ||
} | ||
] | ||
}, | ||
SETUP: { | ||
OSX: [ | ||
{ | ||
title: 'Set up and run the Netflow module', | ||
textPre: 'In the Logstash install directory, run the following command to set up the Netflow module.', | ||
commands: [ | ||
'./bin/logstash --modules netflow --setup', | ||
], | ||
textPost: 'The `--setup` option creates a `netflow-*` index pattern in Elasticsearch and imports' + | ||
' Kibana dashboards and visualizations. Omit this option for subsequent runs of the module to avoid' + | ||
' overwriting existing Kibana dashboards.' | ||
} | ||
] | ||
} | ||
}; |
1 change: 1 addition & 0 deletions
1
src/core_plugins/kibana/server/tutorials/netflow/elastic_cloud.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
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
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