- Now that you've got a fresh pipeline and index pattern, let's throw some data at it!
-
-
-
-
-
Install Filebeat on all servers on which you want to tail logs
- (
- instructions
- )
-
-
-
- Point Filebeat at the log files you want to tail
- (
- instructions
- )
-
-
-
- Configure Filebeat to send data through your new Elasticsearch pipeline
- (
- instructions
- )
- At minimum you'll need to configure Filebeat's Elasticsearch output with a hostname, an index name, and a
-
- paramaters
- block. Your config should end up looking something like this:
- NOTE: 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 "filebeat-*" you would make the index name "filebeat" in filebeat.yml.
-
-
-
-
- Configure Filebeat to send data to Elasticsearch
- (
- instructions
- )
- At minimum you'll need to configure Filebeat's Elasticsearch output with a hostname and an index name.
- Your config should end up looking something like this:
- NOTE: 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 "filebeat-*" you would make the index name "filebeat" in filebeat.yml.
-
-
-
- Edit filebeat.template.json (in the Filebeat directory). The line that reads
- "template": "filebeat-*" should become
- "template": "{{ installStep.results.indexPattern.id }}".
-
Verify your filebeat installation below. We'll poll your new index pattern for documents and let you know when
- they show up. If you'd like to skip this step, simply click Done now.
-
Follow these instructions to install Filebeat.
+Now that you've got a fresh pipeline and index pattern, let's throw some data at it!
+
+
+
+
+
+
+ Install Filebeat on all servers on which you want to tail logs
+
+ instructions
+
+
+
+
+
+
+ Point Filebeat at the log files you want to tail
+
+ instructions
+
+
+
+
+
+
+ Configure Filebeat to send data through your new Elasticsearch pipeline
+
+ instructions
+
+ At minimum you'll need to configure Filebeat's Elasticsearch output with a hostname, an index name, and a
+
+ paramaters
+ block. Your config should end up looking something like this:
+
+ NOTE: 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 "filebeat-*" you would make the index name "filebeat" in filebeat.yml.
+
+
+
+
+
+
+ Configure Filebeat to send data to Elasticsearch
+
+ instructions
+
+ At minimum you'll need to configure Filebeat's Elasticsearch output with a hostname and an index name.
+ Your config should end up looking something like this:
+
+ NOTE: 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 "filebeat-*" you would make the index name "filebeat" in filebeat.yml.
+
+
+
+ Verify your filebeat installation below. We'll poll your new index pattern for documents and let you know when
+ they show up. If you'd like to skip this step, simply click Done now.
+
+
+
+
+
+
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step.js b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/install_filebeat_step.js
similarity index 67%
rename from src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step.js
rename to src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/install_filebeat_step.js
index 88282f7469d104..5beefb85db75d2 100644
--- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step.js
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/install_filebeat_step.js
@@ -1,7 +1,8 @@
import modules from 'ui/modules';
-import template from 'plugins/kibana/settings/sections/indices/add_data_steps/install_filebeat_step.html';
+import template from './install_filebeat_step.html';
import 'ui/pattern_checker';
-import { patternToIngest } from '../../../../../common/lib/convert_pattern_and_ingest_name';
+import { patternToIngest } from '../../../../../../common/lib/convert_pattern_and_ingest_name';
+import './styles/_add_data_install_filebeat_step.less';
modules.get('apps/settings')
.directive('installFilebeatStep', function () {
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/styles/_add_data_install_filebeat_step.less b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/styles/_add_data_install_filebeat_step.less
new file mode 100644
index 00000000000000..e1045ccf0358d8
--- /dev/null
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/install_filebeat_step/styles/_add_data_install_filebeat_step.less
@@ -0,0 +1,22 @@
+install-filebeat-step {
+
+ .install-filebeat {
+ > ol {
+ padding-left: 1em;
+
+ > li {
+ padding: 4px 0;
+ font-weight: bold;
+
+ > span {
+ font-weight: normal;
+
+ > pre {
+ margin: 7px 0;
+ }
+ }
+ }
+ }
+ }
+
+}
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.html b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.html
deleted file mode 100644
index 382b31765d07d0..00000000000000
--- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.html
+++ /dev/null
@@ -1,12 +0,0 @@
-
-
Provide some sample logs
- Paste in one or more lines from the file you intend to tail. We'll use these samples in the following steps to help
- you build an ingest pipeline and configure a Kibana index pattern. Log lines can be raw strings or
- formatted as JSON. If your logs are raw strings but you intend to use
- Filebeat's metadata,
- you'll want to paste the JSON as it will come out of Filebeat.
-
-
-
-
-
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.html b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.html
new file mode 100644
index 00000000000000..25de6ba36f6a50
--- /dev/null
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.html
@@ -0,0 +1,11 @@
+
Provide some sample logs.
+Paste in one or more lines from the file you intend to tail. We'll use these samples in the following steps to help
+you build an ingest pipeline and configure a Kibana index pattern. Log lines can be raw strings or
+formatted as JSON. If your logs are raw strings but you intend to use
+Filebeat's metadata,
+you'll want to paste the JSON as it will come out of Filebeat.
+
+
+
+
+
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.js b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.js
similarity index 89%
rename from src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.js
rename to src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.js
index 1e78ea45559f86..35acb814993e04 100644
--- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.js
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/paste_samples_step.js
@@ -1,6 +1,7 @@
import modules from 'ui/modules';
-import template from 'plugins/kibana/settings/sections/indices/add_data_steps/paste_samples_step.html';
+import template from './paste_samples_step.html';
import _ from 'lodash';
+import './styles/_add_data_paste_samples_step.less';
modules.get('apps/settings')
.directive('pasteSamplesStep', function () {
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/styles/_add_data_paste_samples_step.less b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/styles/_add_data_paste_samples_step.less
new file mode 100644
index 00000000000000..ac0d1f2b8e3713
--- /dev/null
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step/styles/_add_data_paste_samples_step.less
@@ -0,0 +1,6 @@
+.paste-samples {
+ textarea {
+ width: 100%;
+ height: 250px;
+ }
+}
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.html b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.html
deleted file mode 100644
index 5a8735d7b3ea80..00000000000000
--- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.html
+++ /dev/null
@@ -1,32 +0,0 @@
-
-
Review the index pattern
- Here we'll define how and where to store your parsed events. We've made some intellient guesses for you, but most
- fields can be changed if we got it wrong!
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.html b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.html
new file mode 100644
index 00000000000000..da4662e7c962a3
--- /dev/null
+++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.html
@@ -0,0 +1,29 @@
+
Review the index pattern.
+ Here we'll define how and where to store your parsed events. We've made some intelligent guesses for you, but most
+ fields can be changed if we got it wrong!
+
+
+
+
+ Patterns allow you to define dynamic index names using * as a wildcard. Example: filebeat-*
+
+
+
+