-
Notifications
You must be signed in to change notification settings - Fork 8.3k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'feature/ingest' into ingest/patternReview
- Loading branch information
Showing
4 changed files
with
47 additions
and
6 deletions.
There are no files selected for viewing
14 changes: 12 additions & 2 deletions
14
src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.html
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 |
---|---|---|
@@ -1,3 +1,13 @@ | ||
<h2>Paste samples step</h2> | ||
<div class="wizard-step-title"> | ||
<h3>Provide some sample logs</h3> | ||
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 | ||
<a target="_window" href="https://www.elastic.co/guide/en/beats/filebeat/current/exported-fields.html">Filebeat's metadata</a>, | ||
you'll want to paste the JSON as it will come out of Filebeat. | ||
</div> | ||
|
||
<div class="paste-samples"> | ||
<textarea ng-model="pasteStep.rawSamples" placeholder="Paste your sample log lines here, separated by a newline"></textarea> | ||
</div> | ||
|
||
<button ng-click="samples = 'some sample logs'">Do Stuff</button> |
30 changes: 27 additions & 3 deletions
30
src/plugins/kibana/public/settings/sections/indices/add_data_steps/paste_samples_step.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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -227,3 +227,10 @@ kbn-settings-indices { | |
} | ||
} | ||
|
||
.paste-samples { | ||
textarea { | ||
width: 100%; | ||
height: 250px; | ||
} | ||
} | ||
|