Skip to content

InfluxDB out: Add wildcard tags supporting to Tag_Keys #9578

@kirillbdev

Description

@kirillbdev

Background

Currently InfluxDB output plugin supports only constant-based tag keys. Example from docs:

[OUTPUT]
    Name          influxdb
    Match         *
    Host          127.0.0.1
    Port          8086
    Database      fluentbit
    Sequence_Tag  _seq
    Tag_Keys      method path # Constant based keys (space separated)

Proposal

Add ability to write more flexible tag keys using wildcard styling. Example config:

[OUTPUT]
    Name          influxdb
    Match         *
    Host          127.0.0.1
    Port          8086
    Database      fluentbit
    Sequence_Tag  _seq
    Tag_Keys      method tag_* # Add as tags all fields which starts with tag_

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