Run the following bash commands
pip install redis
pip install flask
Download Joda and extract
Download using this link: http://cl.ly/1H2r2j1R3Z3t
And then
tar vxzf joda.tgz
pushd joda
we are using master.dev.jut.io as an example.
first, edit the file analyzer.cfg
with correct information:
consumer
section determines where you want the result to be dumped tostdout
means dumping results to the consoleredis
means storing result into a redis server and you have to spply additional details likehost
port
andpassword
client_id
andclient_secret
can be obtained via the following procedure- click your username on top right
- click
My Account
- click
Authorizations
- there you have the
client_id
andclient_secret
- in the de section, change auth_url to
https://master-auth.dev.jut.io
- in the de section, change data_url to
https://data-engine-52-10-215-103.dev.jutdata.io:3100
- open the
Explorer
- open browser's debugging console, go to the "Network" Tab
- click
Run
on any of the juttle cells - in the
Network
tab, you will find several requests with namejob
- in these
jobs
request, inspect the headers, you will see something likeRequest URL:https://data-engine-52-10-215-103.dev.jutdata.io:3100/api/v1/jobs
- open the
- **All the above information can be obtained through the advanced config tab of any running reciever'
start running program and pipe result into redis
$> redis-server &
$> python analyzer.py -j analysis.juttle -c analyzer.cfg
The juttle program has finished running and has stored the result in the redis data base. To view the data, do the following:
$> redis-cli
$> keys *
If you would like to view the value of one of the shown above, do
$> redis-cli
$> get <key>