Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 244 of 808  Not logged in ELOG logo
icon5.gif   Shell execute, posted by Alan Grant on Tue May 14 06:07:07 2019 
I have the line in my elog config to run a Powershell script when submitting a New entry. I just send an email as a test:

Execute New = "Powershell.exe -ExecutionPolicy Bypass D:\SendEmail.ps1"

Fyi, the Powershell statement itself (Send-MailMessage -From 'MeterElog@winnipeg.ca'
icon5.gif   How to export and import all the threat from old elog server to the new elog server , posted by stalin on Tue Sep 24 20:06:26 2019 
Hi Team,

Can you please guide me how to export and import the documents from the one elog to the another elog server also I like to know how to backup
the server.
    icon2.gif   Re: How to export and import all the threat from old elog server to the new elog server , posted by Andreas Luedeke on Wed Oct 9 12:09:19 2019 
See https://elog.psi.ch/elog/config.html#mirroring

and

https://elog.psi.ch/elog/userguide.html#access
icon5.gif   Parsing log files, posted by Alan Grant on Fri Jan 8 05:48:45 2021 
Sometimes we change the attributes in a config file for a given tab as time goes on, which naturally can get out of sync with the older data in
that tab.

I can imagine some other Elog users have encounterd this too at some point so I'm wondering if there's a utilty or some way
    icon1.gif   Re: Parsing log files, posted by John on Fri Jan 8 06:14:49 2021 
Hi Al; if I understand your situation correctly you want to access Elog db (logbooks) via another way. There are many ways depending on your knowledge,
type of work needed, and ease of use. I have found that accessing whatever I need via Elog gui is satisfactory in many situations-- by simply exporting.
THEN take the raw csv/xml  file and manipulte it more easily from there. There are MANY free web sites that will take your data then, and put it in
    icon2.gif   Re: Parsing log files, posted by Alan Grant on Fri Jan 8 15:28:06 2021 
 




John
wrote:



Hi Al; if I understand your situation correctly you want to access Elog db
    icon2.gif   Re: Parsing log files, posted by Stefan Ritt on Fri Jan 8 15:35:35 2021 
Well, you could put the old options back to the config file, do the export, then remove them again.

But have a look at the Elog database files ZZMMDDa.log in your logbook directory, they are pure ASCII files, which are relatively simple to parse.





Hi
    icon2.gif   Re: Parsing log files, posted by Lagarde on Wed Apr 7 17:11:28 2021 
Hi,

I had similar needs (access and parse logs ) so I'm  a small library in cpp. Have a look on https://github.com/flagarde/elogpp maybe
it could be usefull for you too.
ELOG V3.1.5-3fb85fa6