Machine data that is logged using Historical data can be exported as CSV to then analyze in software like Microsoft Excel or to backup your data.
- Create a new Device page or Card, or use an existing one.
-
Add a component and then add the desired tags to that component.
The following components can be used to export the raw logged data.
Component Description Data Export Component designed to export raw data. Provides additional options like file name and file format. Data Table Table component with the option to export raw data. Requires component setting Allow data export to CSV to be enabled. The following components can also be used to export data, but these export aggregated data and not the raw data. Meaning they export the data as you see it in the component.
Component Description Line Graph Graph component with the option to export the aggregated data. Requires component setting Allow data export to CSV to be enabled. Period Barchart Bar graph component with the option to export the aggregated data. Requires component setting Allow data export to CSV to be enabled. Statusbar Horizontal bar that displays color-coded status over a period of time with the option to export the aggregated data. Requires component setting Allow data export to CSV to be enabled. - Set the time period. This setting determines which period is shown in data components and also from which period the data will be exported. On Device pages you can also show or hide time period controls, which enable you to change the displayed time period on the page in the Portal.
- Don't forget to Publish the Device page or Card and also link it to a device if it isn't already.
- You can now export the data from the Portal.