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