OT: Rewrite part of a message with rsyslog

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Hi all,

 Sorry for the off-topic, but I have not found how to do this. I have
installed a centos6 server to act as a syslog receiver. I need to
rewrite all messages that comes from one server. For example a part of
the message is:

"27April2012 10:33:44 172.1.2.2 data >". Sometimes between 27April2012
and 10:33:44 comes with one white space, sometimes with two, etc. I
need to normalize this log to use only one white space between all
fileds until ">" character.

 Somebody knows how can I do this??
_______________________________________________
CentOS mailing list
CentOS@xxxxxxxxxx
http://lists.centos.org/mailman/listinfo/centos


[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux