#!/bin/bash # Retrieve arguments domain=$1 domain_label=${domain//\./_} # Replace "." by "_" for the domain label # Add a web_log entry for this new domain cat >> /opt/netdata/etc/netdata/go.d/web_log.conf <