# Export CSV/JSON lists

**URL:** <https://community.icinga.com/t/export-csv-json-lists/163>\
**Category:** Icinga Web\
**Tags:** icingaweb2, reporting\
**Created:** [January 11, 2019, 11:05am UTC](https://community.icinga.com/t/export-csv-json-lists/163 "2019-01-11T11:05:14Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dnsmichi](https://community.icinga.com/user_avatar/community.icinga.com/dnsmichi/32/7721_2.png) [@dnsmichi](https://community.icinga.com/u/dnsmichi)\
**Post date:** [January 11, 2019, 11:05am UTC](https://community.icinga.com/t/export-csv-json-lists/163/1 "2019-01-11T11:05:14Z")

</div>

You can export and query data in specific [formats](https://icinga.com/docs/icingaweb2/latest/doc/20-Advanced-Topics/#global-url-parameters). This also works on the CLI with curl for example.

> **Tip**
> 
> Build the filtered view in Icinga Web first, then copy the URL for further tests with data extraction.

# CLI

## CSV

```auto
curl -o test.csv - u icingaadmin:icinga -H 'Accept: application/json' 'https://icinga.server/monitoring/list/services?format=csv'

```
