# Generic HTTP write listener [[inputs.cl_104]] ## Address to host HTTP listener on ## can be prefixed by protocol tcp, or unix if not provided defaults to tcp ## if unix network type provided it should be followed by absolute path for unix socket service_address = "tcp://:8080" ## service_address = "tcp://:8443" ## Paths to listen to. # path_cl="/api/104" # path_up="/api/104up" ## maximum duration before timing out read of the request # read_timeout = "10s" ## maximum duration before timing out write of the response # write_timeout = "10s" ## pong wait # pong_wait="60s" ## ping period # ping_period="54s" ## write_wait # write_wait="10s" ## Set one or more allowed client CA certificate file names to ## enable mutually authenticated TLS connections # tls_allowed_cacerts = ["/etc/telegraf/clientca.pem"] ## Add service certificate and key # tls_cert = "/etc/telegraf/cert.pem" # tls_key = "/etc/telegraf/key.pem" ## Minimal TLS version accepted by the server # tls_min_version = "TLS12" ## Optional username and password to accept for HTTP basic authentication. ## You probably want to make sure you have TLS configured above for this. # basic_username = "foobar" # basic_password = "barfoo" ## Data format to consume. ## Each data format has its own unique set of configuration options, read ## more about them here: ## https://github.com/influxdata/telegraf/blob/master/docs/DATA_FORMATS_INPUT.md data_format = "cl_104"