Kapacitor Env variable for influxdb subscriptions


I’m trying to utilize env variables for all my kapacitor config settings and I’m having some trouble figuring out what the syntax would be for the influx included description section. Specifically:

# Set of databases and retention policies to subscribe to.
# If empty will subscribe to all, minus the list in
# influxdb.excluded-subscriptions
# Format
# db_name =
# Example:
# my_database = [ “default”, “longterm” ]

I’d like to only subscribe to the autogen retention policy in a database called “my_db” but am not sure how to achieve that. It seems like I want something like this which doesn’t work


Any pointers?


Looking at the toml reference, I think this is closer but still doesn’t work. Is the underscore in my db name messing this up?