Skip to content
This repository was archived by the owner on Mar 21, 2020. It is now read-only.
This repository was archived by the owner on Mar 21, 2020. It is now read-only.

Splunk token invalid when using environment variables #27

@mentalblock

Description

@mentalblock

When using environment variables to interpolate the fluent.conf configuration file, the Splunk token somehow becomes invalid. When I put the token statically into the configuration file without interpolation, the Splunk message is successfully accepted.

This doesn't work correctly when ensuring the token is in this variable:

token "#{ENV["FLUENTD_SPLUNK_TOKEN"]}"

This works fine

token my-token-statically-written-out

I am deploying using a derivative of the the alpine/v1.1.0-onbuild. The derivative is an image I built following the instructions in https://hub.docker.com/r/fluent/fluentd/ for the sole purpose of installing the Splunk gem. Can anyone confirm this problem?

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