"Single Button Push" access to the vera log locally or remotely. The end result is the log presented in Excel based on pre-defined filters set-up by the user.More details / Background:
So I'm not a native linux / unix guy...my roots are in Windows (and DOS before that), and MS Office products. During development cycles for Vera I was never really happy with the process for retrieval and inspection of logs and wanted something more "streamlined". I've been using something like this for a while, and so decided to formalize it a bit and slap a basic UI on it. The result is ELVira...the E
ewer for Vera
(Yes, the acronym is cheesy...that's the way I like 'em!)
Anyway, this app will preserve the log's coloring (if that's what you want, or you can just strip out the color coding), and the performance is actually better than I expected when handling large files. The elapsed time from pushing the "refresh log" button to the time a filtered log is displayed in Excel is about 10 seconds on my local network. (For a log with about 13,000 lines. )
Because the file transfer helper app (PSCP) uses SSH, you can use ELVira remotely if you are forwarding the appropriate port on your router to your Vera IP.Requirements:
- Microsoft Excel...with macros enabled when you open up the file.
- Windows based PC. (This can be modified to work with Mac versions of office, but this is not in place at this time.)
- PSCP (optional): Download from the Putty Download Page. This is a command line secure file-copy utility for transferring files between your PC and Vera. The file is not "installable", it is simply the excecutable. Just download it to any location on your PC. Without PSCP, you can still use ELVira as a log viewer / filtering app, but you'll need to obtain a copy the log file to you PC by some other means.
- Your Vera root password.
- Download ELVira (attached to this post in the ZIP file).
- Download a copy of PSCP. (If using the auto-transfer feature). Doesn't matter where you keep the file, but you'll probably want to keep it in the same place you have Putty, or if you don't have putty, in the same folder that you have ELVira.
- Make sure you know you Vera SSH password. If not, follow the directions here to get it.
- Open ELVira in Excel. This is a macro enabled Excel spreadsheet, so when you open the file you will need to "enable macros" when presented with a security warning.
- Click on the File Transfer Setup button, and enter in your settings, or select the "Prompt for file on local PC" option.
I will more document the settings and how they work in the next post.Version Notes:
Version 0.5: Jan 25, 2015. Initial beta release .
I have not tried this yet with verbose logging enabled, so there may be some color escape codes that are used that are not yet supported.
I also have not put much (ok any) effort into validating the input for the settings and filters. So if you don't put in a valid IP, forget to enter your password, put non numbers in numeric fields, etc, you'll likely to just end up getting arcane error messages for the time being.