Demo Discussion
Forum Config Examples Contributions Vulnerabilities
  Discussion forum about ELOG  Not logged in ELOG logo
icon1.gif   elog command line submission, posted by Erik Butz on Thu Nov 4 13:23:50 2010 
    icon2.gif   Re: elog command line submission, posted by Stefan Ritt on Tue Nov 16 13:25:35 2010 
Message ID: 66923     Entry time: Thu Nov 4 13:23:50 2010     Reply to this: 66940
Icon: Entry  Author: Erik Butz  Author Email: erik.butz@gmail.com 
Category: Question  OS: Linux  ELOG Version: V2.7.6-219 
Subject: elog command line submission 
Hi, 

I am playing with the elog automatic subscription script, but somehow I am failing in submitting an entry. 
I am using a syntax as this:

echo test | elog -h 127.0.0.1 -p 8085 -d /usr/local/elogbooks/Elog -l "Sub Elog" -a "Type=MyType" -x -u user passwd

and I get a message which says: 
"cannot get host name: Success"

which seems contradictory and also there is no entry submitted. 

The command is executed on the host where the elog is running, the port and directory are taken from the cfg File. 

What is my mistake, where is my misunderstanding of the documentation?

Any hints appreciated. 

Erik
ELOG V3.1.5-fe60aaf