"use strict";(self.webpackChunkinfluxdb_ui=self.webpackChunkinfluxdb_ui||[]).push([[396],{89064:n=>{n.exports='# A plugin to collect stats from Varnish HTTP Cache\n[[inputs.varnish]]\n  ## If running as a restricted user you can prepend sudo for additional access:\n  #use_sudo = false\n\n  ## The default location of the varnishstat binary can be overridden with:\n  binary = "/usr/bin/varnishstat"\n\n  ## Additional custom arguments for the varnishstat command\n  # binary_args = ["-f", "MAIN.*"]\n\n  ## The default location of the varnishadm binary can be overridden with:\n  adm_binary = "/usr/bin/varnishadm"\n\n  ## Custom arguments for the varnishadm command\n  # adm_binary_args = [""]\n\n  ## Metric version defaults to metric_version=1, use metric_version=2 for removal of nonactive vcls\n  ## Varnish 6.0.2 and newer is required for metric_version=2.\n  metric_version = 1\n\n  ## Additional regexps to override builtin conversion of varnish metrics into telegraf metrics.\n  ## Regexp group "_vcl" is used for extracting the VCL name. Metrics that contain nonactive VCL\'s are skipped.\n  ## Regexp group "_field" overrides the field name. Other named regexp groups are used as tags.\n  # regexps = [\'^XCNT\\.(?P<_vcl>[\\w\\-]*)(\\.)*(?P<group>[\\w\\-.+]*)\\.(?P<_field>[\\w\\-.+]*)\\.val\']\n\n  ## By default, telegraf gather stats for 3 metric points.\n  ## Setting stats will override the defaults shown below.\n  ## Glob matching can be used, ie, stats = ["MAIN.*"]\n  ## stats may also be set to ["*"], which will collect all stats\n  stats = ["MAIN.cache_hit", "MAIN.cache_miss", "MAIN.uptime"]\n\n  ## Optional name for the varnish instance (or working directory) to query\n  ## Usually append after -n in varnish cli\n  # instance_name = instanceName\n\n  ## Timeout for varnishstat command\n  # timeout = "1s"\n'}}]);