get logs via api - csv

this downloads them as a csv #405