0

I want to use queueing/disk buffer with rsyslog (8.37.0) for each rsyslog config.

I've configure this rules :

template(name="test_template" type="string" string="/data/%FROMHOST-IP%.log")
ruleset(name="test_device"){
                action(type="omfile" dynaFile="test_template")
                action(type="omfwd"
                        queue.type="disk"
                        queue.maxdiskspace="50g"
                        queue.filename="/data/queueing/test"
                        queue.saveonshutdown="on"
                        action.resumeRetryCount="-1"
                        protocol="udp" target="10.0.0.1" port="1514")
}
input(type="imudp" port="1514" ruleset="test_device")

When I stop the remote rsyslog, no queue file is created.

Someone have an idea ?

Thanks

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.