Skip to content

Commit

Permalink
ups
Browse files Browse the repository at this point in the history
  • Loading branch information
urso committed Jan 31, 2019
1 parent 5dbe4c1 commit 99cba1d
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions libbeat/outputs/elasticsearch/elasticsearch.go
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,7 @@ func buildSelectors(
beat beat.Info,
cfg *common.Config,
) (index outputs.IndexSelector, pipeline *outil.Selector, err error) {
defaultIndex := fmt.Sprintf("%v-%v-%%{+yyyy.MM.dd}", beat.IndexPrefix, beat.Version)
index, err = im.BuildSelector(defaultIndex, cfg)
index, err = im.BuildSelector(cfg)
if err != nil {
return index, pipeline, err
}
Expand Down

0 comments on commit 99cba1d

Please sign in to comment.