In particular i've added the example variables to the env:
KAPACITOR_HTTPPOST_0_ENDPOINT = "example0"
KAPACITOR_HTTPPOST_0_URL = "http://example-0.com/path"
KAPACITOR_HTTPPOST_0_HEADERS_Example1 = "header1"
KAPACITOR_HTTPPOST_0_HEADERS_Example2 = "header2"
Damn, I've lost my mind without being able to figure it out!
I hope it will be solved soon!
The documentation is not clear about it, it just says that it can be done but... it doesn't work!
Hello, I'm trying to add multiple HTTP POST endpoint configurations using environment variables (https://docs.influxdata.com/kapacitor/v1.5/event_handlers/post/#defining-configuration-options-with-environment-variables)
In particular i've added the example variables to the env: KAPACITOR_HTTPPOST_0_ENDPOINT = "example0" KAPACITOR_HTTPPOST_0_URL = "http://example-0.com/path" KAPACITOR_HTTPPOST_0_HEADERS_Example1 = "header1" KAPACITOR_HTTPPOST_0_HEADERS_Example2 = "header2"
KAPACITOR_HTTPPOST_1_ENDPOINT = "example1" KAPACITOR_HTTPPOST_1_URL = "http://example-1.com/path" KAPACITOR_HTTPPOST_1_HEADERS_Example1 = "header1" KAPACITOR_HTTPPOST_1_HEADERS_Example2 = "header2"
But from the tick script i'm only able to get the first one "example0", for the second one i'm getting:
Can you check this issue ?