Export list items

edit

Exports list item values from the specified list container.

Console supports only Elasticsearch APIs. Console doesn’t allow interactions with Kibana APIs. You must use curl or another HTTP tool instead. For more information, refer to Run Elasticsearch API requests.

Request URL

edit

POST <kibana host>:<port>/api/lists/items/_export

URL query parameters

edit

The URL query must include the list container’s id:

id - POST /api/lists/items/_export?list_id=<id>

If you want to to use cURL to export rules to a file, use the -o option to specify a file name.

Example request

edit

Exports the values of the external-ip-excludes list container:

POST api/lists/items/_export?list_id=external-ip-excludes

Response code

edit
200
Indicates a successful call.