From 8f979d170f60c782b564d52eb6a003e7a0c4d6eb Mon Sep 17 00:00:00 2001 From: Alexey Nizhegolenko Date: Fri, 12 Oct 2018 22:16:00 +0300 Subject: [PATCH] Update README.md --- README.md | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index e08557c..ffe7668 100644 --- a/README.md +++ b/README.md @@ -19,13 +19,15 @@ Json format that script send to InfluxDB looks like: }, 'measurement': 'geo_cube', 'tags': { + 'host': 'cube' 'geohash': 'u8mb76rpv69r', 'country_code': 'UA' } } ] ``` -As you can see there is two tags fields, so you can build dashboards using geohash (with a point on the map) or country code, also count for any metric equal 1. This script don't parse log file from the begining but parse it line by line after runing. So you can build dashboards using **count** of geohashes or country codes after some time will pass. +As you can see there is three tags fields, so you can build dashboards using geohash (with a point on the map) or country code, or build dashboards with variables based on host name tag. A count for any metric equal 1. This script don't parse log file from the begining but parse it line by line after runing. So you can build dashboards using **count** of geohashes or country codes after some time will pass. +You can see the example Grafana dashboard in geomap.json file. ### Tech