From 280c9a51db5b90b72237ecfbcd860c288464be1a Mon Sep 17 00:00:00 2001 From: Chris Goller Date: Tue, 8 Nov 2016 15:24:34 -0600 Subject: [PATCH] Update k8s groupbys to be escape quoted --- canned/kubernetes_node.json | 4 ++-- canned/kubernetes_pod_container.json | 4 ++-- canned/kubernetes_pod_network.json | 8 ++++---- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/canned/kubernetes_node.json b/canned/kubernetes_node.json index 2c99338c81..b9a56a2f3d 100644 --- a/canned/kubernetes_node.json +++ b/canned/kubernetes_node.json @@ -16,7 +16,7 @@ "db": "telegraf", "rp": "autogen", "groupbys": [ - "node_name" + "\"node_name\"" ], "wheres": [] } @@ -35,7 +35,7 @@ "db": "telegraf", "rp": "autogen", "groupbys": [ - "node_name" + "\"node_name\"" ], "wheres": [] } diff --git a/canned/kubernetes_pod_container.json b/canned/kubernetes_pod_container.json index 722bfc263b..9ce27bd045 100644 --- a/canned/kubernetes_pod_container.json +++ b/canned/kubernetes_pod_container.json @@ -16,7 +16,7 @@ "db": "telegraf", "rp": "autogen", "groupbys": [ - "pod_name" + "\"pod_name\"" ], "wheres": [] } @@ -35,7 +35,7 @@ "db": "telegraf", "rp": "autogen", "groupbys": [ - "pod_name" + "\"pod_name\"" ], "wheres": [] } diff --git a/canned/kubernetes_pod_network.json b/canned/kubernetes_pod_network.json index 6e43f135ee..9b40a5fc57 100644 --- a/canned/kubernetes_pod_network.json +++ b/canned/kubernetes_pod_network.json @@ -17,8 +17,8 @@ "rp": "autogen", "groupbys": [ "time(10s)", - "pod_name", - "host" + "\"pod_name\"", + "\"host\"" ], "wheres": [] } @@ -38,8 +38,8 @@ "rp": "autogen", "groupbys": [ "time(10s)", - "pod_name", - "host" + "\"pod_name\"", + "\"host\"" ], "wheres": [] }