Merge pull request #6018 from Bargs/ingest/filebeatInstall
Add Data Filebeat Installation Instructions
This commit is contained in:
commit
57008e6410
4 changed files with 42 additions and 10 deletions
|
@ -1,10 +1,34 @@
|
|||
<h2>Install filebeat step</h2>
|
||||
<div class="wizard-step-title">
|
||||
<h3>Follow these instructions to install Filebeat</h3>
|
||||
Now that you've got a fresh pipeline and index pattern, let's throw some data at it!
|
||||
</div>
|
||||
|
||||
<div>
|
||||
Results:
|
||||
<ul>
|
||||
<li>Logs: {{results.samples}}</li>
|
||||
<li>Docs: {{results.sampleDocs}}</li>
|
||||
<li>Pattern: {{results.indexPattern}}</li>
|
||||
</ul>
|
||||
<ol>
|
||||
<li>Install Filebeat on all servers on which you want to tail logs
|
||||
(<a target="_blank" href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html#filebeat-installation">
|
||||
instructions
|
||||
</a>)
|
||||
</li>
|
||||
<li>
|
||||
Point Filebeat at the log files you want to tail
|
||||
(<a target="_blank" href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html#filebeat-configuration">
|
||||
instructions
|
||||
</a>)
|
||||
</li>
|
||||
<li>Configure Filebeat on each server to send data to your Elasticsearch instances
|
||||
(<a target="_blank" href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-configuration-details.html#elasticsearch-output">
|
||||
instructions
|
||||
</a>)
|
||||
</li>
|
||||
<li>Set the index name in filebeat.yml based on the index pattern you configured in the previous step. The Filebeat
|
||||
config takes a base index name and automatically rotates the target index by appending "-{date}" to the end, so if
|
||||
your pattern was "foo-*" you would make the index name "foo" in filebeat.yml.
|
||||
</li>
|
||||
<li>Run Filebeat on each server
|
||||
(<a target="_blank" href="https://www.elastic.co/guide/en/beats/filebeat/current/filebeat-getting-started.html#_running_filebeat">
|
||||
instructions
|
||||
</a>)
|
||||
</li>
|
||||
</ol>
|
||||
</div>
|
||||
|
|
|
@ -1,5 +1,5 @@
|
|||
var modules = require('ui/modules');
|
||||
var template = require('plugins/kibana/settings/sections/indices/add_data_steps/install_filebeat_step.html');
|
||||
import modules from 'ui/modules';
|
||||
import template from 'plugins/kibana/settings/sections/indices/add_data_steps/install_filebeat_step.html';
|
||||
|
||||
modules.get('apps/settings')
|
||||
.directive('installFilebeatStep', function () {
|
||||
|
|
|
@ -68,6 +68,11 @@
|
|||
|
||||
<div ng-switch-when="3">
|
||||
<install-filebeat-step results="wizard.stepResults"></install-filebeat-step>
|
||||
|
||||
<div class="nav-buttons">
|
||||
Click Done to go explore your data
|
||||
<button ng-click="wizard.nextStep()">Done</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
@ -15,7 +15,7 @@ modules.get('apps/settings')
|
|||
scope: {},
|
||||
bindToController: true,
|
||||
controllerAs: 'wizard',
|
||||
controller: function ($scope, AppState, safeConfirm) {
|
||||
controller: function ($scope, AppState, safeConfirm, kbnUrl) {
|
||||
var $state = this.state = new AppState();
|
||||
var totalSteps = 4;
|
||||
this.stepResults = {};
|
||||
|
@ -32,6 +32,9 @@ modules.get('apps/settings')
|
|||
if ($state.currentStep + 1 < totalSteps) {
|
||||
this.setCurrentStep($state.currentStep + 1);
|
||||
}
|
||||
else if ($state.currentStep + 1 === totalSteps) {
|
||||
kbnUrl.change('/discover');
|
||||
}
|
||||
};
|
||||
this.prevStep = () => {
|
||||
if ($state.currentStep > 0) {
|
||||
|
|
Loading…
Reference in a new issue