I check the config of website
and i see this
[fluxtask]
enabled = true
task-run-influxdb = "default"
task-run-bucket = "kapacitor_fluxtask_logs"
task-run-org = ""
task-run-orgid = ""
task-run-measurement = "runs"
-
task-run-influxdb : Name of the InfluxDB configuration in your
kapacitor.conf
to use to store Flux task data. To disable Flux task logging, set to"none"
.
this point what need to used? my config in kapacitor.conf in influxdb is:
[[influxdb]]
default = true
disable-subscriptions = true
enabled = true
http-port = 0
insecure-skip-verify = true
kapacitor-hostname = "xxxx"
name = "name_db"
password = "xxxx"
ssl-ca = ""
ssl-cert = ""
ssl-key = ""
startup-timeout = "5m0s"
subscription-mode = "cluster"
subscription-protocol = "http"
subscriptions-sync-interval = "1m0s"
timeout = "0s"
udp-bind = ""
udp-buffer = 1000
udp-read-buffer = 0
urls = ["http://xxxx:8086"]
username = "xxxx"
and taskflux it:
[fluxtask]
enabled = true
task-run-influxdb = "name_db"
task-run-bucket = "kapacitor_fluxtask_logs"
task-run-org = "xxxx"
task-run-measurement = "runs"
token = "xxxxx"
or what need config? i have this error in kapacitor
lvl=info msg="Error reading from bucket for task analytic storage, attempting to create it" service=fluxtask-analytical-store error="unauthorized access"
lvl=info msg="InfluxDB instance for analytic store not processing flux queries" service=fluxtask-analytical-store error="unauthorized access" errorVerbose
lvl=info msg="Error reading from bucket for task analytic storage, attempting to create it" service=fluxtask-analytical-store error="unauthorized access"