Update README.md
This commit is contained in:
parent
27b24e3336
commit
8f979d170f
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in a new issue