Hi guys

I am new to nxlog, I am trying to read the mysql log file, read the log entries 
that sometimes span multiple lines and then send them over to a centralized log 
server using the xm_multiline extension

Here is my configuration:

<Extension parse_mysqllog>
    Modulexm_multiline
    HeaderLine/^\d\d\d\d\d\d\s+\d\d:\d\d:\d\d\s+.*/  
</Extension>
<Input mysqllog>
    Module im_file
    File "/var/log/mysqld.log"
    InputType parse_mysqllog
</Input>
<Output flume>
   Module om_tcp
   Host xxxxx
   Port 5140
   Exec to_syslog_ietf();
</Output>
<Output out>
    Moduleom_file
    File'tmp/output'
</Output>

########################################
# Routes                               #
########################################
<Route 1>
    Path mysqllog => flume
</Route>

However events are sent with this in the body - - [NXLOG@14506 
EventReceivedTime="2013-11-15 20:05:03" SourceModuleName="mysqllog" 
SourceModuleType="im_file"]. 

How could I send the original line instead ?

Thanks a lot
------------------------------------------------------------------------------
DreamFactory - Open Source REST & JSON Services for HTML5 & Native Apps
OAuth, Users, Roles, SQL, NoSQL, BLOB Storage and External API Access
Free app hosting. Or install the open source package on any LAMP server.
Sign up and see examples for AngularJS, jQuery, Sencha Touch and Native!
http://pubads.g.doubleclick.net/gampad/clk?id=63469471&iu=/4140/ostg.clktrk
_______________________________________________
nxlog-ce-users mailing list
nxlog-ce-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users

Reply via email to