Export Elastic Agents to a CSV file

Download the Fleet Agents list as a CSV file to share or review it outside Kibana. The file includes the agents and columns you select and follows the list's active filters and sort order.

You need the following privileges:

  1. In Kibana, find Fleet in the navigation menu or use the global search field, then select Agents.

  2. Optional: Filter and sort the list to match the agents you want to export.

  3. Select the agents to export. You cannot select agents on hosted policies.

    To export every agent that matches the current filters, use the checkbox in the table header, then click Select everything on all pages. The link appears when more selectable agents match the filters than fit on one page.

  4. From the Actions menu, select the export action:

    • Maintenance and diagnostics → Export x agents as CSV
    • Export x agents as CSV
  5. In the Download table results as a CSV file window, select the columns to include, then click Download CSV.

    By default, the export includes these columns: Agent ID, Status, Host Name, Policy ID, Last Checkin Time, and Agent Version.

    A Queued report for CSV notification confirms that Kibana started generating the report.

  6. Follow the link from the notification, or go to Reporting using the global search field to track the status of the report.

  7. When the status of the Agent List report is updated to Done, select the icon in the Actions column to download the CSV file.