Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG, Page 261 of 808  Not logged in ELOG logo
ID Date Icon Author Author Email Category OS ELOG Version Subjectdown
  405   Fri Jul 18 08:57:21 2003 Reply Stefan Rittstefan.ritt@psi.chInfo 2.3.9Re: Version 2.3.9 released today
> It appears Im having problems getting this to work, my config is as follows, yet 
> its not updating the log file since i installed the new RPM 2.3.9, is there a 
> problem or am I doing something wrong ?

Oops, there was a bug. I added the resource directory in front of the logfile name, 
which is not correct if the logfile name contains an absolute path. I fixed that in 
the current CVS version. As a temporary fix, remove the resource dir in your elogd.cfg 
or remove the full path in the logfile (the file will the be put into the resource dir 
of course...).
  430   Mon Sep 15 19:50:21 2003 Question Mikemlmoore@pella.comInfoWindows2.3.9Re: Version 2.3.9 released today
> Version 2.3.9 of elog has been released today. Enhancements are:

Forgive me if I've missed it, but I've looked in the forum, on-line cfg docs 
and downloaded docs.  I cannot find details on how to the used 
the "Execute ..." command.  What is passed on command line, etc.

thanks in advance
mike
 
> - "Execute new/edit/delete" lets one execute shell commands on the server 
> side for new, edited or deleted messages. Since this can cause security 
> problems, a new flag "-x" has been added to the elogd daemon to enable this 
> feature. It can be used to synchronize the elog database with other 
> databases, or to send SMS messages to people.
>
  431   Tue Sep 16 12:48:56 2003 Reply Stefan Rittstefan.ritt@psi.chInfoWindows2.3.9Re: Version 2.3.9 released today
> Forgive me if I've missed it, but I've looked in the forum, on-line cfg docs 
> and downloaded docs.  I cannot find details on how to the used 
> the "Execute ..." command.  What is passed on command line, etc.

Sorry, I forgot to put it into the documentation. It's now available from 
http://midas.psi.ch/elog/config.html You basically use "Execute new = 
<command>", where <command> can have substitutions like $<attribute>, 
$remote_host, etc. You also have to start elogd with the "-x" flag to enable 
shell executions, since they can impose a security problem (see documentation).
  2130   Tue Feb 13 17:25:11 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows Re: Various attributes and columns “list”

bob wrote:
Re Hi,
Is it possible to put various (and choose them) the attributes in the SAME columns of the “list” ??


I don't understand what you mean.
  2131   Tue Feb 13 17:48:05 2007 Reply bobbobgrang@yahoo.frQuestionLinux | Windows Re: Various attributes and columns “list”

Stefan Ritt wrote:

bob wrote:
Re Hi,
Is it possible to put various (and choose them) the attributes in the SAME columns of the “list” ??


I don't understand what you mean.


Ok,
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?
while hoping to be understood Wink
Bob
  2132   Tue Feb 13 19:25:47 2007 Reply Stefan Rittstefan.ritt@psi.chQuestionLinux | Windows Re: Various attributes and columns “list”

bob wrote:
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?


No.
  2133   Wed Feb 14 09:22:01 2007 Reply bobbobgrang@yahoo.frQuestionLinux | Windows Re: Various attributes and columns “list”

Stefan Ritt wrote:

bob wrote:
in the summary,
we can look at each line with its adapted attributes.
I would like the same line which informs several attributes without modifer List display = ID, Date...
Is this possible?


No.


Ok,
Thanks
Frown
  65946   Fri Aug 8 14:27:03 2008 Reply Yoshio ImaiQuestionLinux2.7.4-2111Re: Using the command line tool to edit

T. Ribbrock wrote:
NOTE: I found that this does not work if LOGBOOK has any spaces in it - I would get error messages where the logbook was not found.


You might try to escape the space in the form
elog -a 'Attribute1=value' -x -h localhost -l 'LOG\ BOOK' -p 8080 -u USER PASSWD



T. Ribbrock wrote:
What is the easiest way to retrieve an ID from the command line

I don't know if this helps you (depends on how much the application that edits the entry communicates with the application the generates the entry), but the elog client should output something like
Message successfully transmitted, ID=12345
which you could e.g. redirect into a file that the editing application then reads to determine the ID.
ELOG V3.1.5-3fb85fa6