[rsyslog-notify] Forum Thread: Re: Host information is missing while sending Oracle DB logs - (Mode 'reply')
noreply at adiscon.com
noreply at adiscon.com
Thu Nov 12 04:32:15 CET 2015
User: antonb
Forumlink: http://kb.monitorware.com/viewtopic.php?p=26134#p26134
Message:
----------
Dear [b:39y1xojv]dlang[/b:39y1xojv],
--------- ----------- ------------
please show us the part of your config where you write the log to the
database.
I'm seeing the modload call that loads the module, but I'm not seeing where
you use it.
--------- ----------- ------------
To write my logs to database i have installed rsyslog-mysql package and
loaded ommysql module in rsyslog.conf:
$ModLoad ommysql
*.* :ommysql:localhost,Syslog,rsyslog,MYSQLPASSWORD
Thats it. The logs are writing in Syslog database in MySQL.
--------- ----------- ------------
The problem is probably that you aren't including the hostname in the
template
--------- ----------- ------------
Could you tell me, please? Where do i have to include the hostname in
template? I included this line in template
/var/log/rsyslog_custom/%HOSTNAME%/%PROGRAMNAME%.log in rsyslog.conf, is it
wrong?
More information about the rsyslog-notify
mailing list