Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Functionbeat for GCP fails to find functionbeat.yml file - no index pattern seen in Kibana #20864

Closed
aschifman opened this issue Aug 31, 2020 · 1 comment · Fixed by #22156
Closed
Assignees
Labels
Functionbeat Team:Services (Deprecated) Label for the former Integrations-Services team

Comments

@aschifman
Copy link
Contributor

Configuring Functionbeat for GCP, where it creates a Cloud Function successfully for both pubhub and storage types of deployments, yet, no index pattern was being created within Kibana, only the Indice that gets created when running ./functionbeat setup

Speaking with Noémi, she believed the reason no index pattern was seen is due to there not being anything ingested from the function to ES. There are no errors upon setting up Functionbeat from the CentOS VM I am using to deploy the function, etc.

Looking into the Cloud Function logs, we can see the following:

{ "textPayload": "Exiting: error loading config file: open functionbeat.yml: no such file or directory", "insertId": "000000-f61bea65-d244-4bea-9e5a-00236c9fe657", "resource": { "type": "cloud_function", "labels": { "project_id": "elastic-product", "region": "us-central1", "function_name": "ams-pubsub" } }, "timestamp": "2020-08-31T14:20:09.461Z", "labels": { "execution_id": "2sdipwlzcweo" }, "logName": "projects/elastic-product/logs/cloudfunctions.googleapis.com%2Fcloud-functions", "trace": "projects/elastic-product/traces/22edc748fa0432a3e6329984aaf6a77d", "receiveTimestamp": "2020-08-31T14:20:10.029070476Z" }

I have also attached the functionbeat.yml file used when running the following command:

./functionbeat -v -e -d "*" deploy ams-pubsub

`
functionbeat-yaml-config-file.txt

`

Please include configurations and logs if available.

For confirmed bugs, please report:

  • Version: 7.8.1 of Functionbeat as well as ES Cloud deployment
  • Operating System: n/a but deployed on CentOS-6.1
  • Discuss Forum URL: n/a discussed with N
  • Steps to Reproduce:
@aschifman aschifman added Functionbeat Team:Services (Deprecated) Label for the former Integrations-Services team labels Aug 31, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/integrations-services (Team:Services)

kvch added a commit that referenced this issue Oct 26, 2020
## What does this PR do?

This PR adds a new function to to `cfgfile` to set the path to the configuration file of a Beat. This fixes the issue on GCP with Functionbeat.

## Why is it important?

ATM Functionbeat cannot run on GCP.

## Related issues

Closes #20864
kvch added a commit to kvch/beats that referenced this issue Oct 26, 2020
## What does this PR do?

This PR adds a new function to to `cfgfile` to set the path to the configuration file of a Beat. This fixes the issue on GCP with Functionbeat.

## Why is it important?

ATM Functionbeat cannot run on GCP.

## Related issues

Closes elastic#20864

(cherry picked from commit 13a195a)
kvch added a commit to kvch/beats that referenced this issue Oct 26, 2020
## What does this PR do?

This PR adds a new function to to `cfgfile` to set the path to the configuration file of a Beat. This fixes the issue on GCP with Functionbeat.

## Why is it important?

ATM Functionbeat cannot run on GCP.

## Related issues

Closes elastic#20864

(cherry picked from commit 13a195a)
kvch added a commit that referenced this issue Oct 26, 2020
## What does this PR do?

This PR adds a new function to to `cfgfile` to set the path to the configuration file of a Beat. This fixes the issue on GCP with Functionbeat.

## Why is it important?

ATM Functionbeat cannot run on GCP.

## Related issues

Closes #20864

(cherry picked from commit 13a195a)
kvch added a commit that referenced this issue Oct 26, 2020
## What does this PR do?

This PR adds a new function to to `cfgfile` to set the path to the configuration file of a Beat. This fixes the issue on GCP with Functionbeat.

## Why is it important?

ATM Functionbeat cannot run on GCP.

## Related issues

Closes #20864

(cherry picked from commit 13a195a)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Functionbeat Team:Services (Deprecated) Label for the former Integrations-Services team
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants