Use custom index name in elastic

This commit is contained in:
Gabriel Augendre 2018-11-19 18:28:49 +01:00
parent f76e8bbf42
commit 37e37260f2
3 changed files with 15 additions and 0 deletions

View file

@ -6,3 +6,8 @@ youtubebeat:
# Defines how often an event is sent to the output # Defines how often an event is sent to the output
period: 1s period: 1s
start_id: "SmBCZgcGlKk" start_id: "SmBCZgcGlKk"
output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*"

View file

@ -7,6 +7,11 @@ youtubebeat:
period: 1s period: 1s
start_id: "SmBCZgcGlKk" start_id: "SmBCZgcGlKk"
output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*"
#================================ General ====================================== #================================ General ======================================
# The name of the shipper that publishes the network data. It can be used to group # The name of the shipper that publishes the network data. It can be used to group

View file

@ -7,6 +7,11 @@ youtubebeat:
period: 1s period: 1s
start_id: "SmBCZgcGlKk" start_id: "SmBCZgcGlKk"
output.elasticsearch.index: "youtubebeat"
setup.template.name: "youtubebeat"
setup.template.pattern: "youtubebeat-*"
#================================ General ===================================== #================================ General =====================================
# The name of the shipper that publishes the network data. It can be used to group # The name of the shipper that publishes the network data. It can be used to group