From cfdea3db83edd7796868390c8b20ec0d3ce9d9c5 Mon Sep 17 00:00:00 2001 From: Pier-Hugues Pellerin Date: Thu, 1 Nov 2018 12:42:55 -0400 Subject: [PATCH] Make sure the functionbeat.yml and the functionbeat.reference.yml (#8844) Make sure the required options are the same on both files and also use the same default name for the function. --- 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 a57bc650f71..88841e6ffd1 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 1e7e79c8da6..7444613b497 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