11-04-2014 08:20 AM
i'm trying to get the Historical Activity from any other way then the Web interface, the idea is to automate that task.
I've looked at zcli,Control API and Rest interface and i couldn't find it. The similar is stats but it doesnt provide the same information.
After searching here i've found this getHistoricalActivity.pl.zip but this is for generating graphs. I've noticed it is using an executable called graph.line. Any other tool to get the traffic_history.tsv? A command line tool? I can imagine this tool gets the Historical Data and generates the graphs. How? Where is the raw data?
Looks like a Question Spree, sorry about that.
Thanks for your help.
Solved! Go to Solution.
11-05-2014 02:05 AM
The stats which are used to generate the historical activity graphs are stored in the logs/statd folder. Inside you will find a folder for your stingray containing files named <date>.log.
The file is tab separated. Each line will start with a "V" for Virtual Server, "P" for Pool, or "N" for Node. The next column will be the name of the object, and then three columns for connections, bits out, and bits in.