editor.html 2.8 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465
  1. <div class="row-fluid" ng-controller="timepicker">
  2. <div class="span3">
  3. <h6>Default Mode</h6>
  4. <select style="width:85%" ng-model="panel.mode" ng-options="f for f in ['relative','absolute','since']"></select>
  5. </div>
  6. <div class="span3">
  7. <h6>Time Field</h6>
  8. <input type="text" class="input-small" ng-model="panel.timefield">
  9. </div>
  10. </div>
  11. <div class="row-fluid">
  12. <h5>Index Settings</h5>
  13. <div ng-show="panel.timed_indices" class="row-fluid">
  14. <div class="span12">
  15. <p>
  16. Time stamped indices use a dated index pattern instead of pointing directly
  17. to one specific index. For example, to match the default logstash index pattern
  18. you might use <code>"logstash-"yyyy.mm.dd</code>. The quotes around "logstash-"
  19. are important as they instruct Kibana not to treat those letters as a pattern.
  20. </p>
  21. <p>
  22. See <a href="http://blog.stevenlevithan.com/archives/date-time-format">http://blog.stevenlevithan.com/archives/date-time-format</a>
  23. for documentation on date formatting.
  24. </p>
  25. </div>
  26. </div>
  27. <div class="row-fluid">
  28. <div class="span2">
  29. <h6>Timestamped</h6><input type="checkbox" ng-model="panel.timed_indices" ng-checked="panel.timed_indices">
  30. </div>
  31. <div class="span5">
  32. <h6>Index <span ng-show="panel.timed_indices">pattern</span> <small ng-show="panel.timed_indices">Absolutes in double quotes</small></h6>
  33. <input type="text" class="input-medium" ng-model="panel.index">
  34. </div>
  35. <div class="span4">
  36. <h6>Failover Index <small>If index not found</small></h6>
  37. <input type="text" class="input-medium" ng-model="panel.defaultindex">
  38. </div>
  39. </div>
  40. </div>
  41. <div class="row-fluid">
  42. <h5>Relative mode <small>settings</small></h5>
  43. <div class="span8">
  44. <h6>Relative time options <small>comma seperated</small></h6>
  45. <input type="text" array-join class="input-large" ng-model="panel.time_options">
  46. </div>
  47. <div class="span3">
  48. <h6>Default timespan</h6>
  49. <select class="input-mini" ng-model="panel.timespan" ng-options="f for f in panel.time_options"></select>
  50. </div>
  51. <div class="row-fluid">
  52. <h5>Auto-refresh <small>settings</small></h5>
  53. <div class="span1">
  54. <label class="small"> Enable </label><input type="checkbox" ng-model="panel.refresh.enable" ng-checked="panel.refresh.enable">
  55. </div>
  56. <div class="span2">
  57. <label class="small"> Interval (seconds) </label>
  58. <input type="number" array-join class="input-mini" ng-model="panel.refresh.interval">
  59. </div>
  60. <div class="span3">
  61. <label class="small"> Minimum Interval (seconds) </label>
  62. <input type="number" array-join class="input-mini" ng-model="panel.refresh.min">
  63. </div>
  64. </div>