From b76a04f08c71d5fa42e535494440d185bb600e06 Mon Sep 17 00:00:00 2001 From: bau047 Date: Mon, 7 Jan 2019 16:46:31 +1100 Subject: [PATCH] Further updated grafana to specify datasource on DB creation. --- grafana_db/FlowSearch.json | 22 +--------------------- grafana_db/TimeSeries.json | 2 ++ grafana_db/TopN.json | 3 +++ 3 files changed, 6 insertions(+), 21 deletions(-) diff --git a/grafana_db/FlowSearch.json b/grafana_db/FlowSearch.json index ad9584f..e73c08f 100644 --- a/grafana_db/FlowSearch.json +++ b/grafana_db/FlowSearch.json @@ -184,6 +184,7 @@ "id" : 6, "type" : "table", "title" : "Flow Results", + "datasource": "goflow", "scroll" : true, "sort" : { "desc" : true, @@ -288,26 +289,5 @@ "gnetId" : null, "version" : 1, "schemaVersion" : 16 - }, - "meta" : { - "createdBy" : "Anonymous", - "slug" : "netflow-flow-search", - "url" : "/d/JCAF6YUik/netflow-flow-search", - "folderUrl" : "", - "updatedBy" : "Anonymous", - "updated" : "2019-01-07T14:53:27+11:00", - "provisioned" : false, - "folderTitle" : "General", - "canStar" : true, - "isFolder" : false, - "created" : "2019-01-07T14:53:27+11:00", - "hasAcl" : false, - "canSave" : true, - "version" : 1, - "folderId" : 0, - "canAdmin" : true, - "expires" : "0001-01-01T00:00:00Z", - "canEdit" : true, - "type" : "db" } } diff --git a/grafana_db/TimeSeries.json b/grafana_db/TimeSeries.json index 510b18c..71a95fc 100644 --- a/grafana_db/TimeSeries.json +++ b/grafana_db/TimeSeries.json @@ -157,6 +157,7 @@ ], "lines" : true, "title" : "Throughput bytes", + "datasource": "goflow", "timeRegions" : [], "thresholds" : [] }, @@ -219,6 +220,7 @@ "timeRegions" : [], "thresholds" : [], "title" : "Packet rate", + "datasource": "goflow", "pointradius" : 5, "yaxis" : { "alignLevel" : null, diff --git a/grafana_db/TopN.json b/grafana_db/TopN.json index 97d2173..bb3e955 100644 --- a/grafana_db/TopN.json +++ b/grafana_db/TopN.json @@ -92,6 +92,7 @@ "timeRegions": [], "timeShift": null, "title": "TopN - By Destination Address", + "datasource": "goflow", "tooltip": { "shared": true, "sort": 0, @@ -200,6 +201,7 @@ "timeRegions": [], "timeShift": null, "title": "TopN - By Destination Port", + "datasource": "goflow", "tooltip": { "shared": true, "sort": 0, @@ -308,6 +310,7 @@ "timeRegions": [], "timeShift": null, "title": "TopN - By Source Port", + "datasource": "goflow", "tooltip": { "shared": true, "sort": 0,