add example for subscription-path (#2041)
* docs: added bigpanda.md event handler documentation * docs: fixing typos * docs: fixing typos * docs: updated bigpanda.md, added primary, secondary property * Update config.yml * add example for subscription-path * fix formatting * resolve conflicts Co-authored-by: Robert Hajek <robert.hajek@gmail.com> Co-authored-by: Scott Anderson <sanderson@users.noreply.github.com>pull/2153/head
parent
d3c406bcef
commit
4805d69be8
|
@ -160,6 +160,7 @@ This results in the following file:
|
|||
"startup-timeout": "5m0s",
|
||||
"subscription-mode": "cluster",
|
||||
"subscription-protocol": "https",
|
||||
"subscription-path": "",
|
||||
"subscriptions": {},
|
||||
"subscriptions-sync-interval": "1m0s",
|
||||
"timeout": "0s",
|
||||
|
@ -205,15 +206,27 @@ Similar commands:
|
|||
|
||||
* To change the URLS:
|
||||
|
||||
`curl -kv -d '{ "set": { "urls": [ "https://lenovo-TP02:8086" ]} }' https://localhost:9092/kapacitor/v1/config/influxdb/`
|
||||
```sh
|
||||
curl -kv -d '{ "set": { "urls": [ "https://lenovo-TP02:8086" ]} }' https://localhost:9092/kapacitor/v1/config/influxdb/
|
||||
```
|
||||
|
||||
* To set the `subscription-protocol`:
|
||||
|
||||
`curl -kv -d '{ "set": { "subscription-protocol": "https" } }' https://localhost:9092/kapacitor/v1/config/influxdb/`
|
||||
```sh
|
||||
curl -kv -d '{ "set": { "subscription-protocol": "https" } }' https://localhost:9092/kapacitor/v1/config/influxdb/
|
||||
```
|
||||
|
||||
* If Kapacitor is behind a reverse proxy, set the `subscription-path` to append to the InfluxDB subscription URL:
|
||||
|
||||
```sh
|
||||
curl -kv -d '{ "set": { "subscription-path": "/path/behind/reverse-proxy" } }' https://localhost:9092/kapacitor/v1/config/influxdb/
|
||||
```
|
||||
|
||||
* To set the path to the CA Certificate:
|
||||
|
||||
`curl -kv -d '{ "set": { "ssl-ca": "/etc/ssl/influxdata-selfsigned-incl-pub-key.pem" } }' https://localhost:9092/kapacitor/v1/config/influxdb/`
|
||||
```sh
|
||||
curl -kv -d '{ "set": { "ssl-ca": "/etc/ssl/influxdata-selfsigned-incl-pub-key.pem" } }' https://localhost:9092/kapacitor/v1/config/influxdb/
|
||||
```
|
||||
|
||||
Other properties can be set in a similar fashion.
|
||||
|
||||
|
|
Loading…
Reference in New Issue