Convert .wsp file to csv or txt

Asked by t12ab

How to convert .wsp file to csv or txt? Is there any script avaialable?

Question information

Language:
English Edit question
Status:
Expired
For:
Graphite Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Jason Dixon (jason-dixongroup) said :
#1

Not natively to Whisper, but the Graphite API supports csv output so you could do something like this:

$ curl "http://127.0.0.1/render/?target=foo.bar&format=csv"

Revision history for this message
t12ab (contato-m) said :
#2

Thanks for reply Jason. Suppose .wsp files are in a pc without graphite installed, they were copied from a graphite server, is there any other option to convert it?

Revision history for this message
Jason Dixon (jason-dixongroup) said :
#3

You could write something yourself that uses the Whisper library to read and then write it out to csv. But no, if you're looking for a turnkey non-Graphite tool, there's none that I'm aware of.

Revision history for this message
t12ab (contato-m) said :
#4

I am using whisper-fetch.py to convert from .wsp to .txt, but it is converting the timestamp in data wrongly. It replaces an old date with current date, .wsp files are from april, but after converting process the timestamps on files are dated for current date (06/28). Any idea on that?

Revision history for this message
Launchpad Janitor (janitor) said :
#5

This question was expired because it remained in the 'Open' state without activity for the last 15 days.