Exporting data
Txture offers a variety of options to retrieve data from its Repository. Depending on your use case one of the following export options might be suitable for you:
- Exporting lists to .csv or .xlsx files.
- Storing images of visual reports (such as the dependency report or a tree report) in either PNG, PDF or SVG format.
- Retrieving up-to-date lists in .csv format via the API.
Exporting lists to CSV or Excel
In Txture, you can export lists from the repository or from a table report.
Exporting from the Repository
In the repository, you can export your data with the current filter settings from the query bar or name search.
- Click on the
Export
button on the top right corner and configure if you want to export all rows or the selected Rows. - Select either the option to export only the currently visible columns or all columns.
- Export the list as Excel, Json or the Assets as CSV or Links as CSV by using the matching button.
Exporting from Table Reports
A very basic but powerful way to export data is to simply export reports you created to .csv or .xlsx file. For example, you might want to export a list of all virtual server assets tracked in Txture to an Excel file.
- In a first step, create a new table report in the report section with the
+ New Report
button and select a table format. - Add your assets using the query sidebar on the left with a proper restriction.
- Click on the
Menu button
in the upper right corner and click theExport as...
Button. - Following the exporting documentation for more detailed information.
Storing images of visual reports
All visual reports such as dependency, chord, donut, waterfall or tree reports can be exported to three different image formats:
- SVG
- PNG
We advise to stick to SVG or PDF for most use-cases since those are vector-based formats and well suited both for on-screen and print reproduction.
- In a visual report click on the
Menu
button in the upper right corner and selectExport as
. - The resulting modal dialog present a preview of the report.
- Define the size or Target format and use the
Export
button to select a data format to download the report.
Retrieving up-to-date lists via the API
This option is most useful if you want to further process date from Txture with another tool in an automated fashion. Txture can provide you with a stable URL at which an up-to-date CSV or JSON file is always available.
- In order for the CSV file to be available for non-human users (e.g. software) you will need to create an API token in the admin section.
- Starting off similarly as in the last example, you create a table report with a query suitable to your needs.
- Save the report, since it has to be persistently available.
- Click the
Menu
button and click on theExport as
function. In the second tab you see the API export section. - You can customize your export by selecting which columns to include (
All Columns
or onlyVisible Columns
) and choosing the export type (assets or links). At the very end of the dialog you are provided with a API URL that is static. If you use this link without the addition of an API token, it will only be accessible for logged in users. If you want a URL that can be directly access, select the API token created in step 1 to be included in the URL.
Warning:
Please note that this allows anyone who gains access to the URL to use the API token to access Txture with the roles and permission granted to the API token.