|
@@ -1,14 +1,14 @@
|
|
|
<div class="editor-row">
|
|
<div class="editor-row">
|
|
|
- <div class="section" ng-if="annotation.index">
|
|
|
|
|
|
|
+ <div class="section" ng-if="ctrl.annotation.index">
|
|
|
<h5>Index name</h5>
|
|
<h5>Index name</h5>
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
- <input type="text" class="span4" ng-model='annotation.index' placeholder="events-*"></input>
|
|
|
|
|
|
|
+ <input type="text" class="span4" ng-model='ctrl.annotation.index' placeholder="events-*"></input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
<div class="section">
|
|
<div class="section">
|
|
|
<h5>Search query (lucene) <tip>Use [[filterName]] in query to replace part of the query with a filter value</tip></h5>
|
|
<h5>Search query (lucene) <tip>Use [[filterName]] in query to replace part of the query with a filter value</tip></h5>
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
- <input type="text" class="span6" ng-model='annotation.query' placeholder="tags:deploy"></input>
|
|
|
|
|
|
|
+ <input type="text" class="span6" ng-model='ctrl.annotation.query' placeholder="tags:deploy"></input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
@@ -18,22 +18,22 @@
|
|
|
<h5>Field mappings</h5>
|
|
<h5>Field mappings</h5>
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
<label class="small">Time</label>
|
|
<label class="small">Time</label>
|
|
|
- <input type="text" class="input-small" ng-model='annotation.timeField' placeholder="@timestamp"></input>
|
|
|
|
|
|
|
+ <input type="text" class="input-small" ng-model='ctrl.annotation.timeField' placeholder="@timestamp"></input>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
<label class="small">Title</label>
|
|
<label class="small">Title</label>
|
|
|
- <input type="text" class="input-small" ng-model='annotation.titleField' placeholder="desc"></input>
|
|
|
|
|
|
|
+ <input type="text" class="input-small" ng-model='ctrl.annotation.titleField' placeholder="desc"></input>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
<label class="small">Tags</label>
|
|
<label class="small">Tags</label>
|
|
|
- <input type="text" class="input-small" ng-model='annotation.tagsField' placeholder="tags"></input>
|
|
|
|
|
|
|
+ <input type="text" class="input-small" ng-model='ctrl.annotation.tagsField' placeholder="tags"></input>
|
|
|
</div>
|
|
</div>
|
|
|
|
|
|
|
|
<div class="editor-option">
|
|
<div class="editor-option">
|
|
|
<label class="small">Text</label>
|
|
<label class="small">Text</label>
|
|
|
- <input type="text" class="input-small" ng-model='annotation.textField' placeholder=""></input>
|
|
|
|
|
|
|
+ <input type="text" class="input-small" ng-model='ctrl.annotation.textField' placeholder=""></input>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|
|
|
</div>
|
|
</div>
|