Hi, This is "normal", i.e. the syslog(3) call generates and sends the message in this form without including the hostname. The kernel log is similar.
If you want to have your $Hostname appear in the file output, you should rewrite $raw_event by adding "Exec to_syslog_bsd();" Regards, Botond On Tue, 3 Dec 2013 14:52:07 -0700 "Paul Fontenot" <ssdv6...@gmail.com> wrote: > Hi, > > I have an issue where the hostname for the local machine is missing from the > logs, I'm getting this and I'm not quite sure where the problem is > > <78>Dec 3 08:01:01 CROND[6672]: (root) CMD (run-parts /etc/cron.hourly) > <86>Dec 3 08:14:06 sshd[6699]: Accepted publickey for foo from 192.168.0.5 > port 46496 ssh2 > <86>Dec 3 08:14:06 sshd[6699]: pam_unix(sshd:session): session opened for > user foo by (uid=0) > <78>Dec 3 09:01:01 CROND[6809]: (root) CMD (run-parts /etc/cron.hourly) > > /etc/nxlog.conf > ---------------------------------------------------------------------------- > ------------------------------------------ > ######################################## > # Global directives # > ######################################## > User nxlog > Group nxlog > > LogFile /var/log/nxlog/nxlog.log > LogLevel INFO > > include /etc/nxlog.d/*.conf > > > /etc/nxlog.d/01-local.conf > ---------------------------------------------------------------------------- > ------------------------------------------ > # > # Syslog module > <Extension syslog> > Module xm_syslog > </Extension> > # > # kernel stuff > <Input kern_in> > Module im_kernel > Exec parse_syslog_bsd(); > </Input> > <Output kern_out> > Module om_file > File "%KERNLOG%" > </Output> > <Route kern_route> > Path kern_in => kern_out > </Route> > > # > # Everything else > <Input uds_in> > Module im_uds > uds /dev/log > Exec parse_syslog_bsd(); > </Input> > <Output uds_out> > Module om_file > File "%LOCALOG%" > </Output> > <Route uds_route> > Path uds_in => uds_out > </Route> > > > ------------------------------------------------------------------------------ > Sponsored by Intel(R) XDK > Develop, test and display web and hybrid apps with a single code base. > Download it for free now! > http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk > _______________________________________________ > nxlog-ce-users mailing list > nxlog-ce-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users ------------------------------------------------------------------------------ Sponsored by Intel(R) XDK Develop, test and display web and hybrid apps with a single code base. Download it for free now! http://pubads.g.doubleclick.net/gampad/clk?id=111408631&iu=/4140/ostg.clktrk _______________________________________________ nxlog-ce-users mailing list nxlog-ce-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nxlog-ce-users