Skip to content

Commit

Permalink
Deprecation warning when creating interval patterns
Browse files Browse the repository at this point in the history
Since wildcard index patterns now get the same performance optimizations
that interval patterns traditionally received while being more flexible
overall, interval based index patterns are no longer needed. For now, we
simply present users with a notice that interval-based patterns are now
deprecated, though we don't stop them from creating them.
  • Loading branch information
epixa committed Oct 27, 2015
1 parent ff8a40f commit 461b416
Showing 1 changed file with 15 additions and 1 deletion.
16 changes: 15 additions & 1 deletion src/plugins/kibana/public/settings/sections/indices/_create.html
Original file line number Diff line number Diff line change
Expand Up @@ -19,11 +19,25 @@ <h1>Configure an index pattern</h1>
<br>
<label ng-if="index.isTimeBased">
<input ng-model="index.nameIsPattern" type="checkbox">
Use event times to create index names
Use event times to create index names <small>[DEPRECATED]</small>
</label>
</div>

<div class="form-group" ng-if="index.isTimeBased && index.nameIsPattern">
<div class="alert alert-warning">
<h4>Time-interval based index patterns are deprecated!</h4>
<p>
We <strong>strongly recommend</strong> using wildcard pattern names instead of
time-interval based index patterns.
</p>
<p>
Kibana is now smart enough to automatically determine which
indices to search against within the current time range for
wildcard index patterns. This means that wildcard
index patterns now get the same performance optimizations when
searching within a time range as time-interval patterns.
</p>
</div>
<label>
Index pattern interval&nbsp;
<kbn-info info="The interval at which index names rotate."></kbn-info>
Expand Down

0 comments on commit 461b416

Please sign in to comment.