annotations.editor.html 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. <div class="editor-row">
  2. <div class="section" ng-if="currentAnnotation.index">
  3. <h5>Index name</h5>
  4. <div class="editor-option">
  5. <input type="text" class="span4" ng-model='currentAnnotation.index' placeholder="events-*"></input>
  6. </div>
  7. </div>
  8. <div class="section">
  9. <h5>Search query (lucene) <tip>Use [[filterName]] in query to replace part of the query with a filter value</tip></h5>
  10. <div class="editor-option">
  11. <input type="text" class="span6" ng-model='currentAnnotation.query' placeholder="tags:deploy"></input>
  12. </div>
  13. </div>
  14. </div>
  15. <div class="editor-row">
  16. <div class="section">
  17. <h5>Field mappings</h5>
  18. <div class="editor-option">
  19. <label class="small">Time</label>
  20. <input type="text" class="input-small" ng-model='currentAnnotation.timeField' placeholder="@timestamp"></input>
  21. </div>
  22. <div class="editor-option">
  23. <label class="small">Title</label>
  24. <input type="text" class="input-small" ng-model='currentAnnotation.titleField' placeholder="desc"></input>
  25. </div>
  26. <div class="editor-option">
  27. <label class="small">Tags</label>
  28. <input type="text" class="input-small" ng-model='currentAnnotation.tagsField' placeholder="tags"></input>
  29. </div>
  30. <div class="editor-option">
  31. <label class="small">Text</label>
  32. <input type="text" class="input-small" ng-model='currentAnnotation.textField' placeholder=""></input>
  33. </div>
  34. </div>
  35. </div>