mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Fixed interpanel communication
This commit is contained in:
@@ -1,5 +1,5 @@
|
||||
#!/usr/bin/env bash
|
||||
echo "Generating bulk indexable shakespeare lines with timestamp 3 hours in the past and 5 hours into the future"
|
||||
echo "Generating bulk indexable shakespeare lines with timestamp 3 hours in the past and 10 hours into the future"
|
||||
node reader.js > indexme.json
|
||||
echo "Setting mapping for shakespeare index"
|
||||
curl -XPUT http://localhost:9200/_template/shakespeare -d '
|
||||
|
@@ -21,7 +21,7 @@ fs.readFile('shakespeare.json', 'utf8', function (err,data) {
|
||||
}
|
||||
|
||||
function print_obj(o) {
|
||||
var randomnumber=Math.floor(Math.random()*28800000)
|
||||
var randomnumber=Math.floor(Math.random()*57600000)
|
||||
var command = {index:{_index: "shakespeare", _type: "line", _id: i}};
|
||||
o['@timestamp'] = new Date((new Date()).getTime() -9000000 + randomnumber);
|
||||
o.geo = [getRandomInRange(-90, 90, 3),getRandomInRange(-180, 180, 3)]
|
||||
|
Reference in New Issue
Block a user