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 382b31765d07d..0000000000000 --- 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 0000000000000..25de6ba36f6a5 --- /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 1e78ea45559f8..ad85bc6b21ddd 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,5 +1,5 @@ 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'; modules.get('apps/settings') 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 5a8735d7b3ea8..0000000000000 --- 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 0000000000000..da4662e7c962a --- /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-* + + + +
+ + + diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.js b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.js similarity index 96% rename from src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.js rename to src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.js index b96f991b6397a..7d4cbcc6fb82a 100644 --- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step.js +++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/pattern_review_step.js @@ -1,7 +1,8 @@ import modules from 'ui/modules'; -import template from 'plugins/kibana/settings/sections/indices/add_data_steps/pattern_review_step.html'; +import template from './pattern_review_step.html'; import _ from 'lodash'; import editFieldTypeHTML from 'plugins/kibana/settings/sections/indices/partials/_edit_field_type.html'; +import './styles/_add_data_pattern_review_step.less'; function pickDefaultTimeFieldName(dateFields) { if (_.isEmpty(dateFields)) { diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/styles/_add_data_pattern_review_step.less b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/styles/_add_data_pattern_review_step.less new file mode 100644 index 0000000000000..3b9d7279404cc --- /dev/null +++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pattern_review_step/styles/_add_data_pattern_review_step.less @@ -0,0 +1,71 @@ +@import (reference) "../../../styles/_add_data_wizard"; + +pattern-review-step { + margin-bottom: 14px; + + .pattern-review { + margin-bottom: 15px; + + label { + margin-bottom: 0; + } + + .time-field-input { + padding-left: 14px; + margin-bottom: 0; + } + + .pattern-input { + width: 300px; + margin-right: 7px; + } + + > .help-block { + margin-top: 0; + } + } + + paginated-table.pattern-review-field-table { + table { + border-bottom: 3px solid @settings-filebeat-wizard-panel-bg; + + tr { + .form-group; + } + + th { + border-bottom: 0; + padding-top: 10px; + padding-bottom: 10px; + background-color: @settings-filebeat-wizard-panel-bg; + font-weight: normal; + } + + td { + border-top: 3px solid @settings-filebeat-wizard-panel-bg; + vertical-align: middle; + padding-right: 14px; + } + + select { + .form-control; + .wizard-container.form-control; + + min-width: 105px; + } + } + + paginate-controls { + position: relative; + + ul > li > a { + background-color: @settings-filebeat-wizard-panel-bg; + } + + form.pagination-size { + position: absolute; + right: 0; + } + } + } +} diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_pipeline_setup.less b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_pipeline_setup.less index 7ecf231325032..77a07eaec11a4 100644 --- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_pipeline_setup.less +++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_pipeline_setup.less @@ -67,7 +67,7 @@ pipeline-setup { justify-content: flex-start; align-items: center; - select { + select.form-control { background-color: @settings-filebeat-wizard-processor-select-bg; border: none; width: auto; diff --git a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_processor_ui_container.less b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_processor_ui_container.less index 33312e48fa533..9d47774a55eb1 100644 --- a/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_processor_ui_container.less +++ b/src/plugins/kibana/public/settings/sections/indices/add_data_steps/pipeline_setup/styles/_processor_ui_container.less @@ -36,17 +36,6 @@ processor-ui-container { } } - .form-group { - margin-bottom: 5px; - } - - .form-control { - background-color: #f5fafb; - border-color: #86bbcb; - border-width: 1px; - border-radius: 4px; - } - label { font-weight: normal; } diff --git a/src/plugins/kibana/public/settings/sections/indices/filebeat/directives/filebeat_wizard.html b/src/plugins/kibana/public/settings/sections/indices/filebeat/directives/filebeat_wizard.html index b0054a25a54b1..809447c5f92cd 100644 --- a/src/plugins/kibana/public/settings/sections/indices/filebeat/directives/filebeat_wizard.html +++ b/src/plugins/kibana/public/settings/sections/indices/filebeat/directives/filebeat_wizard.html @@ -25,7 +25,7 @@
-
+