From 63931c0298844916dc31a13f2385c2024c44c492 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Wed, 31 Oct 2018 08:57:11 -0400 Subject: [PATCH] Make sure the functionbeat.yml and the functionbeat.reference.yml Make sure the required option are the same on both file and also use the same default name for the functions. --- x-pack/functionbeat/_meta/beat.yml | 5 ++++- x-pack/functionbeat/functionbeat.yml | 5 ++++- 2 files changed, 8 insertions(+), 2 deletions(-) diff --git a/x-pack/functionbeat/_meta/beat.yml b/x-pack/functionbeat/_meta/beat.yml index a57bc650f710..88841e6ffd10 100644 --- a/x-pack/functionbeat/_meta/beat.yml +++ b/x-pack/functionbeat/_meta/beat.yml @@ -12,10 +12,13 @@ # Configure functions to run on AWS Lambda, currently we assume that the credentials # are present in the environment to correctly create the function when using the CLI. # +# Configure which S3 bucket we should upload the lambda artifact. +functionbeat.provider.aws.deploy_bucket: "functionbeat-deploy" + functionbeat.provider.aws.functions: # Define the list of function availables, each function required to have a unique name. # Create a function that accepts events coming from cloudwatchlogs. - - name: fn_cloudwatch_logs + - name: cloudwatch enabled: false type: cloudwatch_logs diff --git a/x-pack/functionbeat/functionbeat.yml b/x-pack/functionbeat/functionbeat.yml index 1e7e79c8da64..7444613b4974 100644 --- a/x-pack/functionbeat/functionbeat.yml +++ b/x-pack/functionbeat/functionbeat.yml @@ -12,10 +12,13 @@ # Configure functions to run on AWS Lambda, currently we assume that the credentials # are present in the environment to correctly create the function when using the CLI. # +# Configure which S3 bucket we should upload the lambda artifact. +functionbeat.provider.aws.deploy_bucket: "functionbeat-deploy" + functionbeat.provider.aws.functions: # Define the list of function availables, each function required to have a unique name. # Create a function that accepts events coming from cloudwatchlogs. - - name: fn_cloudwatch_logs + - name: cloudwatch enabled: false type: cloudwatch_logs