Skip to content

Stackdriver Output When not on GCP/GCE #5563

@GLStephen

Description

@GLStephen

I keep getting "[2022/06/11 19:10:48] [debug] [output:stackdriver:stackdriver.0] [logging.googleapis.com/monitored_resource] not found in the payload".

Config is:

[OUTPUT]
    Name                        stackdriver
    Match                       bidder.event_log*
    google_service_credentials  /fluent-bit/etc/gcp-project-d017ead76452.json
    resource                    global
    export_to_project_id        gcp-project
    labels                      logging.googleapis.com/monitored_resource=bidder

I've tried with and without the labels entry. I see the metadata server always being set, but I'm not on GCE. I see that the code should parse the credentials file which I am using, but it seems it's still not building the monitored_resource properly or at all.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions