{"host": "clouddumps1001.wikimedia.org", "state": "core_diff", "description": "Differences to core resources", "diff": {"full": {"total": 3735, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "Nginx::Site[xmldumps]"}, {"resource": "File[/etc/nginx/sites-available/xmldumps]", "content": "--- /etc/nginx/sites-available/xmldumps.orig\n+++ /etc/nginx/sites-available/xmldumps\n@@ -23,8 +23,10 @@\n }\n \n # nginx has no way to emit a literal '$', which the Event Platform '$schema' field\n-# name requires, so we expose one via a map and reference it as '${dollar}schema'.\n-map $host $dollar {\n+# name requires. A 'map' cannot be used here because it interpolates its values, so\n+# \"$\" is parsed as a variable (\"invalid variable name\"). 'geo' does not interpolate\n+# its values, so we use it to expose a literal '$' and reference it as '${dollar}schema'.\n+geo $dollar {\n     default \"$\";\n }\n \n@@ -92,10 +94,11 @@\n    root /srv/dumps/xmldatadumps/public;\n \n    # We want to send access logs to syslog in addition to the standard log files.\n-   # The 'dumps-http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n-   # so these logs will be sent to the kafka-logging cluster.\n+   # The 'dumps_http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n+   # so these logs will be sent to the kafka-logging cluster. nginx only permits\n+   # alphanumeric characters and underscores in the syslog tag, so we cannot use a hyphen.\n    access_log /var/log/nginx/access.log; # duplicate of the standard configuration in the http block.\n-   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps-http,severity=info ecs_json;\n+   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps_http,severity=info ecs_json;\n \n    add_header Server 'clouddumps1001.wikimedia.org' always;\n "}], "perc_changed": "0.05%"}, "core": {"total": 3735, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/nginx/sites-available/xmldumps]", "content": "--- /etc/nginx/sites-available/xmldumps.orig\n+++ /etc/nginx/sites-available/xmldumps\n@@ -23,8 +23,10 @@\n }\n \n # nginx has no way to emit a literal '$', which the Event Platform '$schema' field\n-# name requires, so we expose one via a map and reference it as '${dollar}schema'.\n-map $host $dollar {\n+# name requires. A 'map' cannot be used here because it interpolates its values, so\n+# \"$\" is parsed as a variable (\"invalid variable name\"). 'geo' does not interpolate\n+# its values, so we use it to expose a literal '$' and reference it as '${dollar}schema'.\n+geo $dollar {\n     default \"$\";\n }\n \n@@ -92,10 +94,11 @@\n    root /srv/dumps/xmldatadumps/public;\n \n    # We want to send access logs to syslog in addition to the standard log files.\n-   # The 'dumps-http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n-   # so these logs will be sent to the kafka-logging cluster.\n+   # The 'dumps_http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n+   # so these logs will be sent to the kafka-logging cluster. nginx only permits\n+   # alphanumeric characters and underscores in the syslog tag, so we cannot use a hyphen.\n    access_log /var/log/nginx/access.log; # duplicate of the standard configuration in the http block.\n-   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps-http,severity=info ecs_json;\n+   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps_http,severity=info ecs_json;\n \n    add_header Server 'clouddumps1001.wikimedia.org' always;\n "}], "perc_changed": "0.03%"}, "main": {"total": 3735, "only_in_self": [], "only_in_other": [], "resource_diffs": [{"resource": "File[/etc/nginx/sites-available/xmldumps]", "content": "--- /etc/nginx/sites-available/xmldumps.orig\n+++ /etc/nginx/sites-available/xmldumps\n@@ -23,8 +23,10 @@\n }\n \n # nginx has no way to emit a literal '$', which the Event Platform '$schema' field\n-# name requires, so we expose one via a map and reference it as '${dollar}schema'.\n-map $host $dollar {\n+# name requires. A 'map' cannot be used here because it interpolates its values, so\n+# \"$\" is parsed as a variable (\"invalid variable name\"). 'geo' does not interpolate\n+# its values, so we use it to expose a literal '$' and reference it as '${dollar}schema'.\n+geo $dollar {\n     default \"$\";\n }\n \n@@ -92,10 +94,11 @@\n    root /srv/dumps/xmldatadumps/public;\n \n    # We want to send access logs to syslog in addition to the standard log files.\n-   # The 'dumps-http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n-   # so these logs will be sent to the kafka-logging cluster.\n+   # The 'dumps_http' tag wil match with an entry in /etc/rsyslog.lookup.d/lookup_table_output.json\n+   # so these logs will be sent to the kafka-logging cluster. nginx only permits\n+   # alphanumeric characters and underscores in the syslog tag, so we cannot use a hyphen.\n    access_log /var/log/nginx/access.log; # duplicate of the standard configuration in the http block.\n-   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps-http,severity=info ecs_json;\n+   access_log syslog:server=unix:/dev/log,facility=local7,tag=dumps_http,severity=info ecs_json;\n \n    add_header Server 'clouddumps1001.wikimedia.org' always;\n "}, {"resource": "Nginx::Site[xmldumps]"}], "perc_changed": "0.05%"}}}