Your message dated Thu, 11 Jan 2018 23:58:49 +0100
with message-id <[email protected]>
and subject line Re: doesn't work
has caused the Debian Bug report #846862,
regarding doesn't work
to be marked as done.
This means that you claim that the problem has been dealt with.
If this is not the case it is now your responsibility to reopen the
Bug report if necessary, and/or fix the problem forthwith.
(NB: If you are a system administrator and have no idea what this
message is talking about, this may indicate a serious mail system
misconfiguration somewhere. Please contact [email protected]
immediately.)
--
846862: https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=846862
Debian Bug Tracking System
Contact [email protected] with problems
--- Begin Message ---
Package: rsyslog-mongodb
Version: 8.23.0-2~bpo8+1
On Jessie after upgrade rsyslog to backported version mongodb logging
doesn't work
No error reported while starting but mongo db is empty.
If I proceed by the README.Debian no db "syslog" is created, no
collection "log" created.
If define DB, collection and template like "action(type="ommongodb"
collection="testlog" template="tpl1" server="127.0.0.1") then only
ObjectId field created - no any next fieds like msg etc stored.
{ "_id" : ObjectId("58431c0e29676654ec0686e8") }
{ "_id" : ObjectId("58431c0e29676654ec0686e9") }
{ "_id" : ObjectId("58431c0e29676654ec0686ea") }
{ "_id" : ObjectId("58431c0e29676654ec0686eb") }
{ "_id" : ObjectId("58431c0e29676654ec0686ec") }
{ "_id" : ObjectId("58431c0e29676654ec0686ed") }
{ "_id" : ObjectId("58431c0e29676654ec0686ee") }
my rsyslog-mongodb.conf:
module (load="ommongodb")
template(name="tpl1" type="list") {
constant(value="Syslog MSG is: '")
property(name="msg")
constant(value="', ")
property(name="timereported" dateFormat="rfc3339"
caseConversion="lower")
constant(value="\n")
}
*.* action(type="ommongodb" collection="testik" template="tpl1"
server="127.0.0.1")
i try change my template to
template(name="tpl1" type="list" option.json="on"){
property(name="hostname" outname="sys")
property(name="timereported" dateformat="rfc3339" outname="time")
property(name="timegenerated" dateformat="rfc3339" outname="time_rcv")
property(name="msg" outname="msg")
property(name="syslogfacility" outname="syslog_fac")
property(name="syslogseverity" outname="syslog_sever")
property(name="syslogtag" outname="syslog_tag")
property(name="programname" outname="procid")
property(name="procid" outname="pid")
property(name="syslogpriority-text" outname="level")
}
but same problem.
after downgrade to stable package no problem and everything is stored
without problem
--
S pozdravem
Zdenek Herman
tel: +420 777 730 218
email: [email protected]
--- End Message ---
--- Begin Message ---
On Thu, 30 Nov 2017 01:50:34 +0100 Michael Biebl <[email protected]> wrote:
> Control: tags -1 moreinfo
>
> Hi
>
> On Sat, 3 Dec 2016 20:31:31 +0100 =?UTF-8?B?WmRlbsSbayBIZcWZbWFu?=
> <[email protected]> wrote:
> > Package: rsyslog-mongodb
> > Version: 8.23.0-2~bpo8+1
> >
> > On Jessie after upgrade rsyslog to backported version mongodb logging
> > doesn't work
> > No error reported while starting but mongo db is empty.
>
> ..
>
> > after downgrade to stable package no problem and everything is stored
> > without problem
>
> Can you please verify if this is still a problem in Stretch, our current
> stable release?
>
TTBOMK, rsyslog-mongodb works ok and as I didn't get any further
feedback, I'm closing this bug report.
Michael
--
Why is it that all of the instruments seeking intelligent life in the
universe are pointed away from Earth?
signature.asc
Description: OpenPGP digital signature
--- End Message ---