Notebook or loggly

Hi, I need to export my data from Losant into an excel or pdf report on a regular basis.
What is the best way to do this - loggly or notebooks ?
I am looking for easiest solution for fairly simple reports and lowest cost.

Rgds Sean.


Are you doing any processing on this data? If not, then a Notebook might have too much horsepower for what you’re looking for.

If you are not doing any processing on the data, and are just looking to export your data, I would suggest the following:

  1. in a Workflow use the Timer Trigger Node
  2. Use the Losant API Node with the Bulk Device Data Export Endpoint. This API endpoint either send an email that includes a link to download a CSV of device data or exposes a callbackURL.
  3. Using a webhook as the callback URL can trigger another workflow. In this workflow, you then have the option to send the download URL to an AWS Lambda function, or another service of your choosing.

Note: Leveraging this process is limited to 1 API call (in this example, 1 workflow run) per hour.

On the other hand, if you are processing this data before sending it along, Notebooks are going to be the best tool for the job. Here is another great resource for building your Notebook, as well.

Please let me know if you need any further explanation!

Thank you,

Thanks for this.
What about Loggly service ? Ultimately, I would like to generate a csv or excel file.
I could send data to AWS S3 service from Losant and then use Loggly to access this data and export it to Excel. Once in excel, data processing can be performed on the data.
Is that a better way to do this ?


Loggly would work, yes.

We have a Loggly Custom Node that you can import to your application via our new Template Library.

Let me know if you have any questions about the Loggly Node and the Template Library!

Thank you,