[syslog-ng]Sorting data from msg field into correct columns?

Balazs Scheidler syslog-ng@lists.balabit.hu
Mon, 5 May 2003 14:39:26 +0200


On Mon, May 05, 2003 at 10:55:07AM +0200, Michael.Semling@swisscom.com wrote:
> Hi all!
>  
> As I have now added hardware to report into a central syslog but I have
> to uses a relay. (Another SYSLOG-NG)
> Now  I get messages containing
>  
> Host: IP/Name of the relay
> Facility, Priority, Level, tag, date, time and program is just all info
> from the relay.
>  
> In the msg I have all the data as the original host, time, msg. etc. 
>  
> Is there any way to "grep/sed/awk" the data out of the msg field and
> sort them into the right columns?
>  
> Is there an example for such a filter?

Can you be more specific, can you perhaps provide examples (what you would
expect and what happens in reality)

-- 
Bazsi
PGP info: KeyID 9AF8D0A9 Fingerprint CD27 CFB0 802C 0944 9CFD 804E C82C 8EB1