Vessel log file #233
-
On the right side of the web view is an perfectly styled view for 'Ships' Is there any command line switch, to store continously this data into a file ? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
Unfortunately not. One approach is to write the messages to a database (postgresql) or alternatively you can extract it from the webviewer, e.g. wget raspberrypi:8100/ships.json on linux and store this file every so many minutes with a structured filename. There are some plans to include this file dump in the server version (in CSV format) as a tool to quickly export to Postgres and to make the internal database persistent. Need to fix some other things before I can do that. |
Beta Was this translation helpful? Give feedback.
Unfortunately not. One approach is to write the messages to a database (postgresql) or alternatively you can extract it from the webviewer, e.g. wget raspberrypi:8100/ships.json on linux and store this file every so many minutes with a structured filename.
But you have to write a script for that.
There are some plans to include this file dump in the server version (in CSV format) as a tool to quickly export to Postgres and to make the internal database persistent. Need to fix some other things before I can do that.