Skip to content

Some help would be appreciated #11

Description

@BlowaXD

Hi,

Thanks for your plugin. I'm trying to use it over Kubernetes.
We have fluentd forwarders that will push the logs to our logging backends. (Sentry, ElasticSearch)

What I would like to do is something like that :


     <match sentry.**>
        @type sentry
        # Set endpoint API URL
        endpoint_url       http://${record['kubernetes']['annotations']['fluentd.sentry.apikey']}@${record['kubernetes']['annotations']['fluentd.sentry.host']}/${record['kubernetes']['annotations']['fluentd.sentry.projectid']}
  
        # Set default events value of 'server_name'
        # To set short hostname, set like below.
        hostname_command   hostname -s
  
        # rewrite shown tag name for Sentry dashboard
        remove_tag_prefix  sentry.
      </match>

but it looks like endpoint_url can not be built dynamically.

Is it possible to do something like that ?
I'm a complete beginner to fluentd and no one else is able to help me on that project.

Thanks by advance,
Blowa.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions