Exporting Data CSV

Welcome to the farmOS community @BABARCA! :slight_smile:

The CSV export button appears on Log and Asset listing pages (eg: “Assets > [type]” or “Logs > [type]” in the main menu). It is at the bottom of the page under the result counter and pager.

Screenshot from 2021-04-03 11-36-28

There are some limitations to what is included in the CSVs. See the documentation here: Exporting data | farmOS

is there any other way to download reports per asset?

Hmm there isn’t a great way to do this via the UI currently - it would be a good feature to add (a CSV export button on the asset pages themselves, at the very least). Some challenges there - due to the fact that the asset pages show a separate list for each log type, so it would mean multiple CSVs per asset.

Another option to consider, if you are comfortable with code and APIs, is to query raw log information via the farmOS API. For example, you can get a list of all logs that reference asset 5 with the following URL: /log.json?asset=5

See the API documentation for more details: API | farmOS

Note that the above applies to farmOS 1.x. We are actively working on farmOS 2.x, and are seeking feedback (see farmOS 2.x Releases (and What to Expect)).

Hope that helps!

1 Like