Playing with data and data visualization
This script collects the index stats from a list of cluster ids. The cluser ids are provided in a newline seperated file.
- Install Cloud CLI for your platform
- Get your API Key
- Set the following Environment variables
export EC_API_KEY=<your key>
export EC_HOST=https://admin.found.no
./get_cat_indices.sh <file with line delimiated cluster Ids>
The script takes file of cluster ids, spilts the file into 10 segments and then runs get_cat_indices.sh in paralel
None
./para_cat.sh <file with line delimiated cluster Ids>
This python script takes the output of get_cat_indices.sh
and performs the analysis of the data nd generates a set of graphs for visualizations. Thsi script allows changes for the number and sizes of buckets from the command line.
- Install packages
pip install -r requirement.txt
python index-analysis.py --idxfile <index stats from get_cat_indices.sh>