From 37e37260f246224180b1a01c5860bd3d2cb1709c Mon Sep 17 00:00:00 2001 From: Gabriel Augendre Date: Mon, 19 Nov 2018 18:28:49 +0100 Subject: [PATCH] Use custom index name in elastic --- _meta/beat.yml | 5 +++++ youtubebeat.reference.yml | 5 +++++ youtubebeat.yml | 5 +++++ 3 files changed, 15 insertions(+) diff --git a/_meta/beat.yml b/_meta/beat.yml index ad8881d..f19a47f 100644 --- a/_meta/beat.yml +++ b/_meta/beat.yml @@ -6,3 +6,8 @@ youtubebeat: # Defines how often an event is sent to the output period: 1s start_id: "SmBCZgcGlKk" + +output.elasticsearch.index: "youtubebeat" + +setup.template.name: "youtubebeat" +setup.template.pattern: "youtubebeat-*" diff --git a/youtubebeat.reference.yml b/youtubebeat.reference.yml index c82ba45..e130f4d 100644 --- a/youtubebeat.reference.yml +++ b/youtubebeat.reference.yml @@ -7,6 +7,11 @@ youtubebeat: period: 1s start_id: "SmBCZgcGlKk" +output.elasticsearch.index: "youtubebeat" + +setup.template.name: "youtubebeat" +setup.template.pattern: "youtubebeat-*" + #================================ General ====================================== # The name of the shipper that publishes the network data. It can be used to group diff --git a/youtubebeat.yml b/youtubebeat.yml index cbf3d97..c9bb62b 100644 --- a/youtubebeat.yml +++ b/youtubebeat.yml @@ -7,6 +7,11 @@ youtubebeat: period: 1s start_id: "SmBCZgcGlKk" +output.elasticsearch.index: "youtubebeat" + +setup.template.name: "youtubebeat" +setup.template.pattern: "youtubebeat-*" + #================================ General ===================================== # The name of the shipper that publishes the network data. It can be used to group