docker stop imply
docker rm imply
docker run -p 8081-8110:8081-8110 -p 8200:8200 -p 9095:9095 -d --name imply imply/imply:$implyversion
docker ps
d57829ded7f7 imply/imply: "bin/supervise -c con" 8 seconds ago Up 7 seconds 1527/tcp, 0.0.0.0:8081-8110->8081-8110/tcp, 0.0.0.0:8200->8200/tcp, 2181/tcp, 0.0.0.0:9095->9095/tcp imply
use: ./import.sh filename index
docker ps -a docker start imply sleep 15
ip=$(docker-machine ip default)
cp ~/Nitrous/roguecartel-3340/cf-data-185360/logs.json . echo "...copied files from logs.json"
filename=$1 index=$2
echo $filename echo $ip
cp logs.json $filename
docker cp $filename imply:root/imply-1.1.1/quickstart/$filename echo "imported datasource" $filename
docker cp $index imply:root/imply-1.1.1/quickstart/$index echo "imported index" $index
echo "posting the index:" $index docker exec -it imply bin/post-index-task -f quickstart/$index echo "completed posting index: " $index
echo "open pivot" open "http://$ip:9095/pivot#"
- General new log file with one added field to the scheme (edgeResponse.status)
- import using same script
- confirm timestamps in the interval
- checked the Druid console: https://www.dropbox.com/s/d13yrohsszeqzqy/Screenshot%202016-05-21%2020.51.32.png?dl=0
expect to see the new dimensions in that time range in pivot but it's not there: https://www.dropbox.com/s/05989zug60bhszi/Screenshot%202016-05-21%2020.53.14.png?dl=0