@@ -295,111 +295,3 @@ functionbeat.provider.aws.functions:
295295
296296 # Set to true to publish fields with null values in events.
297297 #keep_null: false
298-
299- # Configure functions to run on Google Cloud Platform, currently we assume that the credentials
300- # are present in the environment to correctly create the function when using the CLI.
301- #
302- # Configure which region your project is located in.
303- functionbeat.provider.gcp.location_id : " europe-west2"
304- # Configure which Google Cloud project to deploy your functions.
305- functionbeat.provider.gcp.project_id : " my-project-123456"
306- # Configure the Google Cloud Storage we should upload the function artifact.
307- functionbeat.provider.gcp.storage_name : " functionbeat-deploy"
308-
309- functionbeat.provider.gcp.functions :
310- # Define the list of function availables, each function required to have a unique name.
311- # Create a function that accepts events coming from Google Pub/Sub.
312- - name: pubsub
313- enabled: false
314- type: pubsub
315-
316- # Description of the method to help identify them when you run multiples functions.
317- description: " Google Cloud Function for Pub/Sub"
318-
319- # The maximum memory allocated for this function.
320- # Default is 256MB.
321- #memory_size: 256MB
322-
323- # Execution timeout in seconds. If the function does not finish in time,
324- # it is considered failed and terminated. Default is 60s.
325- #timeout: 60s
326-
327- # Email of the service account of the function. Defaults to {projectid}@appspot.gserviceaccount.com
328- #service_account_email: {projectid}@appspot.gserviceaccount.com
329-
330- # Labels of the function.
331- #labels:
332- # mylabel: label
333-
334- # VPC Connector this function can connect to.
335- # Format: projects/* /locations/*/ connectors/* or fully-qualified URI
336- #vpc_connector: ""
337-
338- # Number of maximum instances running at the same time. Default is unlimited.
339- #maximum_instances: 0
340-
341- trigger:
342- resource: "projects/_/pubsub/myPubSub"
343- #service: "pubsub.googleapis.com"
344-
345- # Set to true to publish fields with null values in events.
346- #keep_null: false
347-
348- # Optional fields that you can specify to add additional information to the
349- # output. Fields can be scalar values, arrays, dictionaries, or any nested
350- # combination of these.
351- #fields:
352- # env: staging
353-
354- # Define custom processors for this function.
355- #processors:
356- # - dissect:
357- # tokenizer: "%{key1} %{key2}"
358-
359- # Create a function that accepts events coming from Google Cloud Storage.
360- - name: storage
361- enabled: false
362- type: storage
363-
364- # Description of the method to help identify them when you run multiples functions.
365- description: "Google Cloud Function for Cloud Storage"
366-
367- # The maximum memory allocated for this function.
368- # Default is 256MB.
369- #memory_size: 256MB
370-
371- # Execution timeout in seconds. If the function does not finish in time,
372- # it is considered failed and terminated. Default is 60s.
373- #timeout: 60s
374-
375- # Email of the service account of the function. Defaults to {projectid}@appspot.gserviceaccount.com
376- #service_account_email: {projectid}@appspot.gserviceaccount.com
377-
378- trigger:
379- resource: "projects/my-project/buckets/my-storage"
380- #event_type: "google.storage.object.finalize"
381-
382- # Labels of the function.
383- #labels:
384- # mylabel: label
385-
386- # VPC Connector this function can connect to.
387- # Format: projects/*/ locations/* /connectors/* or fully-qualified URI
388- #vpc_connector: ""
389-
390- # Number of maximum instances running at the same time. Default is unlimited.
391- #maximum_instances: 0
392-
393- # Set to true to publish fields with null values in events.
394- #keep_null: false
395-
396- # Optional fields that you can specify to add additional information to the
397- # output. Fields can be scalar values, arrays, dictionaries, or any nested
398- # combination of these.
399- #fields:
400- # env: staging
401-
402- # Define custom processors for this function.
403- #processors:
404- # - dissect:
405- # tokenizer: "%{key1} %{key2}"
0 commit comments