Centralized rsyslog : max size of message
Asked Answered
B

1

12

I configured a centralized syslog on Ubuntu 12.04.

I set the max message size on both servers

$MaxMessageSize 20k

I have 2 different comportment :

  • client : message are logged completly
  • server : message are truncated at 2k

I can find configuration of any other buffer size.

Is it a limitation of rsyslog or a configuration problem ?

Thanks for your help.

Fred

Blabber answered 4/9, 2013 at 17:11 Comment(0)
B
23

I found the solution.

The parameter :

$MaxMessageSize 20k

must be set before network declaration (at the top of rsyslog.conf file) :

$ModLoad imtcp
$InputTCPServerRun 1514
Blabber answered 6/9, 2013 at 7:54 Comment(0)

© 2022 - 2024 — McMap. All rights reserved.