I have an edge-agent running on a Raspberry Pi. I have mounted a directory on the host to be able to access the Docker container data. I can see on my host file system that some files with extension .ldb have been created among others (LOG, MANIFESTO, CURRENT, LOCK). My question is (sorry if it is a bit obvious), how can I read/open the files to see the data that has been stored in the files when a disconnection occurs ? Do I need a particular software?
Thanks in advance for any help.
I have not personally accessed these files, but there are some useful articles with walkthroughs on how to open them. The simplest explanation I found was to open them in Notepad, but here are a couple of links:
Please let me know if I can assist further!
Thanks for the info. It looks like these .ldb files are just to keep track of who access the database. I wonder where the data (in my case the, the flow, temperature and pressure readings from the sensors) are stored when a disconnection occurs?? Is it in the log files?
Within an edge workflow, you could begin with a Timer Trigger Node and occasionally check your edge device connection variable. Then, using a Latch Node or a Conditional Node to route the workflow to a File: Read Node (if the device is no longer connected) to view or access the logs in the workflow.
Please let me know if I can explain further!
Thank you very much for the advice. At the moment I have remote access to the edge device, so I can extract the log files manually, but your suggested method is an excellent way to gain access to the log files within the workflow environment.