how to download all datapoint and save it

Is there any way to download all the datapoint such as:
dia/channel/00000000-00000000-00409DFF-AA439000/D01/WET1_FAIL 12/26/16 09:21:58 PM False STRING
dia/channel/00000000-00000000-00409DFF-AA439000/D01/UOM_VOLUME 12/26/16 11:18:15 AM BU STRING
and save it as a text file ?
Thank you for your help