# Processing the Logs

Log files are stored on the SD card as binary files and they're encoded for security reasons. However, you can extract the data and view it in a understandable text format (CSV format which can be later exported in XLS, Matlab, or anything else for post-processing and analysis).

You'll need to use the following Python script: [ulog2csv.py](http://sky-drones.com/download.php?file=ulog2csv.zip)

{% hint style="info" %}
&#x20;Python should be installed on your computer.
{% endhint %}

If you don't have Python, you can download it here <https://www.python.org/downloads/>, version 2.7.

To export the log, follow these simple steps:

* Open command line
* Go to the folder where " ulog2csv.py " script is located `cd /path/to/script`
* Execute the command:

  `python ulog2csv.py filename.ulg`&#x20;

  (**filename.ulg** is the path to the log file)&#x20;
* You'll see the folder will all log messages split in separate files

For instance, if you're interested in GNSS (GPS/GLONASS) data you would need **GNSS\_REPORT.csv** file.


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://docs.sky-drones.com/flight-operations/smartap-gcs/processing-the-logs.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
