2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form-group">
|
|
|
|
<div class="gf-form" ng-if="ctrl.annotation.index">
|
|
|
|
<span class="gf-form-label width-14">Index name</span>
|
|
|
|
<input type="text" class="gf-form-input max-width-20" ng-model='ctrl.annotation.index' placeholder="events-*"></input>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
2017-04-12 15:01:17 +02:00
|
|
|
<div class="gf-form-group">
|
|
|
|
<div class="gf-form">
|
|
|
|
<input type="text" class="gf-form-input" ng-model='ctrl.annotation.query'
|
|
|
|
placeholder="Elasticsearch lucene query"></input>
|
|
|
|
</div>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form-group">
|
|
|
|
<h6>Field mappings</h6>
|
|
|
|
<div class="gf-form-inline">
|
|
|
|
<div class="gf-form">
|
2017-10-07 10:31:39 +02:00
|
|
|
<span class="gf-form-label">Time</span>
|
|
|
|
<input type="text" class="gf-form-input max-width-14" ng-model='ctrl.annotation.timeField' placeholder="@timestamp"></input>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form">
|
2017-10-07 10:31:39 +02:00
|
|
|
<span class="gf-form-label">Text</span>
|
|
|
|
<input type="text" class="gf-form-input max-width-14" ng-model='ctrl.annotation.textField' placeholder=""></input>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
2016-02-19 16:01:02 +01:00
|
|
|
<div class="gf-form">
|
2017-10-07 10:31:39 +02:00
|
|
|
<span class="gf-form-label">Tags</span>
|
|
|
|
<input type="text" class="gf-form-input max-width-10" ng-model='ctrl.annotation.tagsField' placeholder="tags"></input>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
2017-10-07 10:31:39 +02:00
|
|
|
<div class="gf-form" ng-show="ctrl.annotation.titleField">
|
|
|
|
<span class="gf-form-label">Title <em class="muted">(depricated)</em></span>
|
|
|
|
<input type="text" class="gf-form-input max-width-16" ng-model='ctrl.annotation.titleField' placeholder="desc"></input>
|
2014-07-29 17:24:42 +02:00
|
|
|
</div>
|
|
|
|
</div>
|
2017-04-12 15:01:17 +02:00
|
|
|
</div>
|