我想知道是否有可能创建服务器IP地址数组,以使Logstash配置文件更易于编辑和读取。我正在用“linux”标记我们的CentOS盒,用“联网”标记ASA。现在,我配置的过滤器部分如下所示: if [host] == “10.x.x.1” or [host] == “10.x.x.2” or … or [host] “10.x.x.30” { add_tag => “linux”
错误:无法打开配置文件‘/usr/local/nagios/etc/hosts.cfg;添加了新文件以供读取:没有这样的文件或目录错误处理对象配置文件!# Define a host for the remote machine use linux-server ; Name of host template to usehost_name nci-helicarrier.nci.nih.go