omfwd resumed issues

General discussions here

Moderator: rgerhards

Google Ads


omfwd resumed issues

Postby kostask » Thu Oct 06, 2016 5:24 pm

Hello,

I am forwarding the logs to an internal amazon classic ELB using TCP and for some reason it doesn't reconnect and the messages are lost from the queue. I tried both IP address and hostname of the ELB and it fails both ways. I know I have some legacy configuration options there but they shouldn't be creating an issue.

Way to replicate:
Make a request that will log, wait 60 seconds, retry the same request

Debian Jessie
rsyslogd 8.4.2

/var/log/syslog:

Oct 6 10:50:54 sbe-01 rsyslogd0: action 'action 1' resumed (module 'builtin:omfwd') [try http://www.rsyslog.com/e/0 ]
Oct 6 10:51:11 sbe-01 rsyslogd-2359: action 'action 1' resumed (module 'builtin:omfwd') [try http://www.rsyslog.com/e/2359 ]


/etc/rsyslog.d/10-apache.conf
Code: Select all
$EscapeControlCharactersOnReceive off
$ActionQueueType LinkedList # use asynchronous processing
$ActionQueueFileName srvrfwd # set file name, also enables disk mode
$ActionResumeRetryCount -1 # infinite retries on insert failure
$ActionQueueSaveOnShutdown on # save in-memory data if rsyslog shuts down
$ActionSendTCPRebindInterval 30
$ActionSendResendLastMsgOnReconnect on
#local6.info @@internal-slp-dev-XXXXX.us-east-1.elb.amazonaws.com:1514
#local6.err @@internal-slp-dev-XXXXX.us-east-1.elb.amazonaws.com:1514
local6.info @@172.XX.1.XXX:1514
local6.err @@172.XX.1.XXX:1514
kostask
New
 
Posts: 2
Joined: Thu Oct 06, 2016 5:15 pm

Urgent Question?

  • Pulling out your Hair?
  • Wasting Time and Money?
  • Deadline Approaching?

Re: omfwd resumed issues

Postby kostask » Thu Oct 06, 2016 10:52 pm

I also tried with the new format and I am still having the same issue

Code: Select all
local6.info action(
                type="omfwd"
                Target="172.XX.1.XXX"
                Port="1514"
                Protocol="tcp"
                RebindInterval="30"
                ResendLastMSGOnReconnect="on"
                queue.FileName="srvrfwd"
                queue.MaxDiskSpace="1g"
                queue.SaveOnShutdown="on"
                queue.Type="LinkedList"
                action.resumeRetryCount="-1"
)
kostask
New
 
Posts: 2
Joined: Thu Oct 06, 2016 5:15 pm

Google Ads



Return to General

Who is online

Users browsing this forum: No registered users and 1 guest

cron