mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
45 lines
1.4 KiB
HTML
45 lines
1.4 KiB
HTML
<div ng-include="httpConfigPartialSrc"></div>
|
|
<br>
|
|
|
|
<h5>Elasticsearch details</h5>
|
|
|
|
<div class="tight-form">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 144px">
|
|
Index name
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input input-xlarge" ng-model='current.database' placeholder="" required></input>
|
|
</li>
|
|
<li class="tight-form-item">
|
|
Pattern
|
|
</li>
|
|
<li>
|
|
<select class="input-medium tight-form-input" ng-model="current.jsonData.interval" ng-options="f.value as f.name for f in indexPatternTypes" ng-change="indexPatternTypeChanged()" ></select>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="tight-form">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 144px">
|
|
Time field name
|
|
</li>
|
|
<li>
|
|
<input type="text" class="tight-form-input input-xlarge" ng-model='current.jsonData.timeField' placeholder="" required ng-init="current.jsonData.timeField = current.jsonData.timeField || '@timestamp'"></input>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|
|
<div class="tight-form last">
|
|
<ul class="tight-form-list">
|
|
<li class="tight-form-item" style="width: 144px">
|
|
Version
|
|
</li>
|
|
<li>
|
|
<select class="input-medium tight-form-input" ng-model="current.jsonData.esVersion" ng-options="f.value as f.name for f in esVersions"></select>
|
|
</li>
|
|
</ul>
|
|
<div class="clearfix"></div>
|
|
</div>
|