.. _log-script-eg:

Logging API Script Examples
===========================

To export data from your application to use with the custom dashboard feature,
use the following examples to create your export scripts. Once exported to
|RAE|, the data will be available to begin creating custom charts.

.. tip::

   To keep your charts up to date, you could run your export script as a cron
   job.

Example Script 1
----------------

.. literalinclude:: test_data_for_analytics_sales.py
   :language: python

Example Script 2
----------------

.. literalinclude:: test_data_for_analytics_tickets.py
   :language: python