Skip to content

Commit

Permalink
Change index config example to include version info
Browse files Browse the repository at this point in the history
  • Loading branch information
dedemorton committed Jan 11, 2018
1 parent 9c0b88e commit 46aea2e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/index.asciidoc
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ output {
elasticsearch {
hosts => "localhost:9200"
manage_template => false
index => "%{[@metadata][beat]}-%{+YYYY.MM.dd}"
index => "%{[@metadata][beat]}-%{[@metadata][version]}-%{+YYYY.MM.dd}"
document_type => "%{[@metadata][type]}" <1>
}
}
Expand Down

0 comments on commit 46aea2e

Please sign in to comment.