Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 34 of 238  Not logged in ELOG logo
icon5.gif   Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Fri Jun 28 17:00:10 2019 
Dear all, 

we have a running elog installation using SSL (with the self-signed certificate). Generally we use the web interface, but we have been asked
if it was possible to automatically insert elog entries via command line. 
    icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Mon Aug 12 13:11:54 2019 
Any news for my problem? 

Your help is very much appreaciated! 

thanks :)
       icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Andreas Luedeke on Wed Aug 14 13:25:15 2019 
I am using SSL with ELOG and it works fine with the "elog" executable. I am no expert on SSL, but I can provide my two cent what you could
try, maybe it helps:


SSL desires to run on the port 443 - I have no idea if you can force it to run on an arbitrary port, it might be possible. But does it
          icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Wed Aug 14 18:36:17 2019 
Dear Andreas,

thanks for your message.

Here are the answers to your questions.
             icon2.gif   Re: Unable to add entries with command line elog.exe with SSL, posted by Antonio Bulgheroni on Thu Aug 15 19:00:12 2019 
So as promised, I add some more information. 

Unfortunately changing the port where the server is listening did not make any change. The situation is still the same. If I try directly from
the server, I get a warning about the fake certificate and if I do it from elsewhere, I get the error that the server is not running SSL. 
icon4.gif   restrict edit time, posted by Sebastian Schenk on Mon Jul 15 17:35:48 2019 
Hello,
I have experienced some inconveniences with the restrict edit time option.

First, it is not possible for admin users to edit an entry after the edit time.
    icon2.gif   Re: restrict edit time, posted by Andreas Luedeke on Thu Aug 15 13:34:23 2019 
Yes, I agree that cleaning up old Draft entries and correcting/deleting old entries is a job for the administrator. Currently I do what you've said:
commenting out "restrict edit time", changing the entry, commenting in "restrict edit time".

There are already some commands specifically for the admin:
icon5.gif   tags, posted by Lech on Wed Aug 7 02:57:55 2019 
Hello,

Is it possible to create tags for new entries in elog? I understand it would have to be some kind of mix between Extendable options and moptions.
Currently, whatever is entered in extendable options forms one option, while usually for tags, words separated by # form different tags. As usual with
    icon2.gif   Re: tags #testtag, posted by Stefan Ritt on Wed Aug 7 17:16:30 2019 
While tags are not explicitly foreseen, you can use moptions and filter with them. Look at this logbook for example: Click on "Find", then
select one or more boxes of the "OS" attribute, and you will see the filtering. Another option is to use freetext in the subject for example.
I added "#testtag" in this subject, so you can search for the text "#testtag" and will find this entry.
icon1.gif   Calculations & Interfacing a DataBase with Elog., posted by John on Sat Jun 22 06:52:32 2019 
Hi, I am trying to calculate two or more Elog fields and then return the value to Elog. I am currently learning Perl to do this. I realize JS can do
this.. but so can IBM Basic ;)  I am savy with other db techniques like sql. My question is before I get too far along with this project, is it safe
to say the current storage of Elog data is 'Flat File' database? I also want to find out if it would be better to try and grab the data prior OR 
    icon2.gif   Re: Calculations & Interfacing a DataBase with Elog., posted by Stefan Ritt on Sat Jun 22 10:07:08 2019 
Yes elog stores data in a flat file database. Go to your logbook directory and look for files YYMMDDa.log where you find all data. Some people do a post
submit call to scripts, other integrate JS directly on each page (e.g. via "bottom text" option where you can load a whole JavaScript file),
then pick the fields and do calculations directly in the edit window.
       icon2.gif   Re: Calculations & Interfacing a DataBase with Elog., posted by John on Sat Jun 22 10:21:39 2019 
Thanks Stefan soo much. As I've said, I will update this post(s) as I make any progress :)

John




Stefan
icon5.gif   enable batch file execution, posted by dev on Wed Jan 28 18:12:53 2015 
How to execute  the batch file  in elogd
    icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 18:17:15 2015 
Modify the server start command in the Windows Registry. Or start the elogd server directly in a command window with "elogd -x", after "cd"
to the elog installation directory.




dev
       icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 18:21:17 2015 
I tried it but still it gives error like Shell
execution not enabled via -x flag 

 
          icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 18:27:44 2015 
Stop the old server first, but we told you this already on elog:67770. If you
don't follow our suggestions we cannot help you.




dev
             icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 19:18:24 2015 
From the command mode i am not able to stop and start  (elogd stop). But i can start/stop from services  .Kindly help  me stopping/starting
it from command 




Stefan
                icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 19:39:50 2015 
May I kindly ask you to Google how to start/stop a service from the command line.




dev
wrote:



From the command mode i am not able to stop and start  (elogd stop).
                   icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 19:50:41 2015 
First of all thanx for your kind help. Kindly help me on the following problem.

I have a logbook which keeps the record of all fault booked by different subscriber.this logbook has three attribute downtime,uptime
& total duration (date &time format) . I want to calculate the total duration automatically whenevr uptime value is given and
                      icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 19:57:32 2015 
This is not possible with ELOG. May I suggest that you use a spreadsheet for that.




dev
wrote:



First of all thanx for your kind help. Kindly help me on the following problem.
                         icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 20:00:15 2015 
Sir, how to use that spreadsheet 

can the calculation is possible by running a batch file . 




Stefan
                            icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 20:03:05 2015 
https://docs.google.com/spreadsheets




dev
wrote:



Sir, how to use that spreadsheet 
                               icon2.gif   Re: enable batch file execution, posted by dev on Wed Jan 28 20:07:48 2015 
Is it as good as Microsoft excel  sheet.

but how can achieve my aim of calculation  how how to integrate it with elog 

Sorry for disturbing yau again and again 
                                  icon2.gif   Re: enable batch file execution, posted by Stefan Ritt on Wed Jan 28 20:31:58 2015 
I meant to use it instead of ELOG. Spreadsheets allow calculaiton of dates, etc. So you can achieve what you need. Again: WHAT
YOU WANT IS NOT POSSIBLE WITH ELOG.




dev
                                     icon2.gif   Re: enable batch file execution, posted by Frank Baptista on Sat Jun 15 23:44:35 2019 
I have not tried these, but since CKeditor works so well, you may want to consider taking a look at integrating jQuery Calx or jExcel...just for fun.




Stefan Ritt wrote:



I meant to use it instead
icon5.gif   Write by a .dll instead of the elog.exe, posted by Marcel Krenz on Tue May 21 15:05:25 2019 
Dear All,

 

is it possible to write to the elog instead of the Command line throug a .dll
    icon2.gif   Re: Write by a .dll instead of the elog.exe, posted by Stefan Ritt on Tue May 21 17:20:19 2019 
I presume you want to write from another program. You can call a command line shell (done via the "system()" command under C) which then calls
the elog executable. If you absolutely want a DLL, you can einter try to compile one yourself using the fuctions in elog.c, or use the curl DLL with which
you can also submit elog entries. See elog:68597 for usage of curl. While curl is usually executed from the command line, there is
icon5.gif   Pinned entry, posted by Giuseppe Cucinotta on Thu Apr 18 12:29:05 2019 
Hi everybody,

sorry if this question has already been posed (I did a quick search but I didn't found anything): elog sorts entry by ID, I wonder if it
is possible to pin an entry in order to be always on top of the page independently on its ID.
    icon2.gif   Re: Pinned entry, posted by Stefan Ritt on Tue Apr 23 10:00:48 2019 
This is not directly possible, but you can configure it with a trick. Create an attribute "pinned", make it of type "boolean", and
set the start page such that it sorts using the "pinned" attribute:

Atributes = ..., Pinned
       icon2.gif   Re: Pinned entry, posted by Giuseppe Cucinotta on Tue Apr 23 11:02:32 2019 
Thank you very much! It worked great!

Beppe




Stefan
       icon2.gif   Re: Pinned entry, posted by Finn Junker on Tue May 21 15:42:46 2019 
Hello Stefan

Works great and very usefull - but not when you use reverse sort = 1?.

Is there a way to get both. Pinned first and then the rest i reversed order (highest ID on page 1)
icon5.gif   How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 11:57:50 2019 
Dear all, 

I have a question about my logbook. I have recently added a new attribute to my logbook and I would like to prefill all previous entries with
a fixed value for this field. Is it possible? 
    icon2.gif   Re: How to pre-fill an attribute that was added later, posted by Stefan Ritt on Tue May 21 12:08:17 2019 
Find all entries which have this attribute empty. Then click on Select, then select all, then click on Edit, then change all values. There might be a
limit how many entries you can select in one go, so you might have to do it in bunches.




Antonio
       icon2.gif   Re: How to pre-fill an attribute that was added later, posted by Antonio Bulgheroni on Tue May 21 12:51:08 2019 
Thanks, it worked great! 




Stefan
Ritt wrote:



Find all entries which have this attribute empty. Then click on Select,
ELOG V3.1.5-3fb85fa6